Skip to content

Commit

Permalink
Merge pull request #1789 from 18F/feature/scss-fixes-1781-and-1734
Browse files Browse the repository at this point in the history
fixed scss for numbered lists and alternating-bg cards
  • Loading branch information
patphongs authored Feb 16, 2018
2 parents 8181542 + 93636e6 commit 68d956b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions fec/fec/static/scss/components/_cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@
.card--alternating-bg {
min-height: u(8.3rem);
padding: 0;
border: 2px solid transparent;

.card__image__container {
@include span-columns(4);
Expand Down
4 changes: 4 additions & 0 deletions fec/fec/static/scss/components/_list-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
}

.list--numbered {
& > li {
list-style-type: decimal;
}

ul {
margin-bottom: 0;
margin-left: u(1.5rem);
Expand Down
7 changes: 5 additions & 2 deletions fec/fec/static/scss/components/_richtext.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
//

.rich-text,
.body-blocks {
.body-blocks,
.block-html {
ul {
@extend .list--bulleted;
}
Expand All @@ -14,8 +15,10 @@
}
}


.rich-text,
.block-table {
.block-table,
.block-html {
table {
@extend .simple-table;
}
Expand Down

0 comments on commit 68d956b

Please sign in to comment.