Skip to content

Commit

Permalink
Merge pull request #8577 from cfpb/ans_regs_margin
Browse files Browse the repository at this point in the history
Remove regs label margin
  • Loading branch information
anselmbradford committed Sep 13, 2024
2 parents f860998 + 270e0cb commit 1de9b7c
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 1de9b7c

Please sign in to comment.