Skip to content

Commit

Permalink
Merge pull request #8257 from cfpb/tccp-bullets
Browse files Browse the repository at this point in the history
Align nested TCCP bullet points
  • Loading branch information
contolini authored Mar 21, 2024
2 parents 5776c9c + 642ee1d commit ddd0e04
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cfgov/tccp/jinja2/tccp/includes/filter_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
hx-swap="show:none"
hx-indicator=".htmx-container"
hx-target=".htmx-results"
hx-replace-url="true">
hx-push-url="false">
<div class="content-l">

{{ render_form_fields(form) }}
Expand Down
20 changes: 20 additions & 0 deletions cfgov/unprocessed/apps/tccp/css/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@
}
});

// @TODO refactor and remove this override
// See https://github.com/cfpb/consumerfinance.gov/pull/8247
.o-form_fieldset {
ul {
list-style: none;
padding-left: 0;
}

input[type='checkbox'],
input[type='radio'] {
margin-right: 4px;
}
}

.m-btn-group {
.u-btn-helper {
width: 100%;
Expand Down Expand Up @@ -39,8 +53,13 @@
list-style: square;
padding-left: 1.125em;

.m-list_item {
margin-left: unit((15px / @base-font-size-px), em);
}

.m-list_item__has-icon {
display: flex;
margin-left: 0;

.cf-icon-svg {
display: inline;
Expand Down Expand Up @@ -126,6 +145,7 @@ html.js .o-filterable-list-results__partial {
}
}

// @TODO: Remove this pattern, we went in another direction
.o-table__stack-on-small-hybrid {
// We don't want responsive table styles applied to the `print` media type
// so we're not using .respond-to-max(@bp-xs-max ) here.
Expand Down

0 comments on commit ddd0e04

Please sign in to comment.