After inheriting this fullstack app, I noticed that the original developers had incorporated a component to generate tables for the webpage.
However, there is an issue with the padding on all the cells being too large. Through Chrome developer tools, I discovered the following CSS code:
.MuiTableCell-sizeSmall{ padding: 6px 24px 6px 16px; }
It appears that MuiTableCell is not directly included in the codebase (hence it's only visible in the rendered DOM and not in the actual code). The app mostly utilizes material-ui and material-table.
Despite having some front-end experience, I am unsure about how to proceed in order to adjust the padding accordingly.
Specifically, based on my experimentation with Chrome developer tools, I aim to change the right padding value (currently set at 24px) to 0px so that it reflects in the rendered DOM:
.MuiTableCell-sizeSmall{ padding: 6px 0px 6px 16px; }
Any suggestions on what steps to take next?
Some of the relevant imports from @Material-UI include: ToolBar, Appbar, FormControl, InputField, TextField, ViewColumn, and TablePagination
Additionally, imported from material-table are: MaterialTable and MTableToolbar
Through a search in IntelliJ, I found that the SizeSmall attribute seems to be associated with TableCell (part of material-ui)