Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

Commit

Permalink
Changed amount (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
BuiQuach authored Feb 8, 2023
1 parent b7dcfef commit f79dc11
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/MainSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ function MainSection() {
}
}

const sortedCompteurList = compteurList.slice(0, 15).sort(sortListAlgo)
const sortedFontaineList = fontaineList.slice(0, 15).sort(sortListAlgo)
const sortedCompteurList = compteurList.sort(sortListAlgo)
const sortedFontaineList = fontaineList.sort(sortListAlgo)

const handleMenuChange = (buttonId) => {
setSelectedBtnId(buttonId)
Expand Down
8 changes: 7 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,11 @@ footer {
width: 100%;
}

.CompteurTable table,
.FontaineTable table {
height: 200px;
height: 420px;
overflow-y: scroll;
overflow-x: scroll;
}

.MainSection table .left {
Expand Down Expand Up @@ -142,6 +144,10 @@ footer {
border: 1px dashed grey;
}

td {
white-space: nowrap;
}

.d-flex {
display: flex;
}
Expand Down

0 comments on commit f79dc11

Please sign in to comment.