Skip to content

Commit

Permalink
assets/scss/components/forms: add styling for radioselect widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Rine authored and fuzzylogic2000 committed Apr 30, 2021
1 parent 1c4643e commit 27ea504
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions euth_wagtail/assets/scss/components/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
@import "forms/form-section";
@import "forms/poll-radio";
@import "forms/questionform";
@import "forms/widget-radioselect";
21 changes: 21 additions & 0 deletions euth_wagtail/assets/scss/components/forms/_widget-radioselect.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.widget-radioselect {
ul {
list-style: none;
margin: 0;
padding: 0;
}

li {
margin-left: 1.25em;
}

input {
margin-left: -1.25em;
}

label {
@extend .form-check__label;
height: auto;
font-weight: normal;
}
}

0 comments on commit 27ea504

Please sign in to comment.