Skip to content

Commit

Permalink
Remove regs label margin
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Sep 13, 2024
1 parent c987c22 commit 270e0cb
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions cfgov/unprocessed/apps/regulations3k/css/reg-search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,38 +37,34 @@
border: 1px solid var(--gray-40);
background-color: var(--gray-5);

.o-expandable__content,
.o-expandable__header {
border: 0;
padding: 0;
&::before,
&::after {
border: 0;
padding: 0;
}
}

.reg-checkbox {
display: inline-block;
}
.num-results {
float: right;
}
.o-form__group {
margin-bottom: 0;
}

// TODO: Create sidebar filter pattern and remove expandable customizations.
.o-expandable {
padding-bottom: 15px;
border-bottom: 1px solid var(--gray-40);
margin-bottom: 15px;
&:nth-child(3n) {
&:last-child() {
border-bottom: none;
}
&__label {
@include h4;
// Override for h4 margin.
margin-bottom: 0;
}
}
.o-form__group {
margin-bottom: 0;
.o-expandable__content,
.o-expandable__header {
border: 0;
padding: 0;
&::before,
&::after {
border: 0;
padding: 0;
}
}
}
.content__main {
Expand Down

0 comments on commit 270e0cb

Please sign in to comment.