Skip to content

Commit

Permalink
Refactor table cell styles in styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
ErdemOzgen committed Feb 27, 2024
1 parent 5b42250 commit a2291c2
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions ui/src/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,32 @@ body {
padding-left: 4px;
}

.MuiTableRow-root th,
.MuiTableRow-root td {

padding: 8px;
text-align: left;


}

/* This style block for .MuiTableRow-root is not necessary for affecting cell borders
and could potentially cause confusion as borders are typically not applied directly to rows for the purpose of defining cell borders.
If you meant to define a border for the whole table, consider applying styles to the <table> element instead.
I'll remove it to focus on cell styles: */

.MuiTableRow-root th {
background-color: #F2F4F8;
background-color: #EFC050; /* Specific to header cells */
font-weight: 500;
border: 1px solid #000000;
}

.MuiTableRow-root td {
color: #EFC050;
color: #EFC050; /* Specific to data cells */
font-weight: 500;
}


.line-highlight {
margin-top: 1.4em !important;
background-color: rgba(255, 255, 0, 0.2) !important;
Expand Down

0 comments on commit a2291c2

Please sign in to comment.