Skip to content

Commit

Permalink
Increased allocations table alignment style selector specificity and …
Browse files Browse the repository at this point in the history
…fixed background styling for disabled 'remove' button in manage team modal
  • Loading branch information
edmondsgarrett committed Jun 15, 2022
1 parent 99f4977 commit d60ff3e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/src/components/Allocations/Allocations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
font-size: 0.875rem; /* 14px (approved deviation from design) */
}
}
td {
.allocations-table td {
vertical-align: top !important; /* override InfiniteScrollTable */
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
thead th /* specificity overwrites bootstrap */ {
border-bottom: 1px solid var(--global-color-primary--dark);
}
tr:nth-child(even) td {
background-color: var(--global-color-primary--x-light);
}
/* action */
tr > *:nth-child(3) {
text-align: right;
Expand All @@ -36,6 +33,15 @@
position: static; /* overwrite <Button> */
}
}
tr:nth-child(even) td {
background-color: var(--global-color-primary--x-light);

button:disabled {
background-color: var(
--global-color-primary--x-light
); /* button's disabled state background will match row background color */
}
}
}
/* wide screen */
@media (--medium-and-below) {
Expand Down

0 comments on commit d60ff3e

Please sign in to comment.