mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 23:54:48 +01:00
expand news section
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
position: absolute;
|
||||
|
||||
min-height: 219px;
|
||||
height: 30%;
|
||||
height: 40%;
|
||||
width: 512px;
|
||||
|
||||
bottom: 35%;
|
||||
|
||||
@@ -61,7 +61,7 @@ export default class NewsSection extends React.Component<IProps, IState> {
|
||||
if (!Array.isArray(obj)) return
|
||||
|
||||
// Get only first 5
|
||||
const commitsList = obj.slice(0, 5)
|
||||
const commitsList = obj.slice(0, 10)
|
||||
const commitsListHtml = commitsList.map((commit: any) => {
|
||||
return (
|
||||
<tr className="Commit" key={commit.sha}>
|
||||
|
||||
Reference in New Issue
Block a user