Skip to content

Commit

Permalink
Remove unnecessary scroll bars from specification tables (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabalafou authored Sep 20, 2024
1 parent 1c6604a commit 8b902ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const RequestedPackageList = ({
</StyledAccordionSummary>
<StyledAccordionDetails sx={{ padding: 0 }}>
<TableContainer>
<Table sx={{ width: "420px", tableLayout: "fixed" }}>
<Table sx={{ width: "100%", tableLayout: "fixed" }}>
<TableHead>
<TableRow>
<TableCell sx={{ fontSize: "13px" }}>Package</TableCell>
Expand Down
4 changes: 2 additions & 2 deletions src/styles/StyledAccordionDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export const StyledAccordionDetails = styled(AccordionDetails, {
? `1px solid ${palette.secondary.light}`
: "1px solid #BCBFC4",
borderTop: "none",
borderRadius: styleType === "grayscale" ? "0px 0px 5px 5px" : "Opx",
overflowY: "scroll",
borderRadius: styleType === "grayscale" ? "0px 0px 5px 5px" : "0px",
overflowY: "auto",
"&::-webkit-scrollbar-thumb": {
backgroundColor: styleType === "grayscale" ? "#EBECEE" : "#DADCE0",
borderRadius: "5px",
Expand Down

0 comments on commit 8b902ec

Please sign in to comment.