Skip to content

Commit

Permalink
Style checkboxes in page edit forms
Browse files Browse the repository at this point in the history
Use two columns to layout checkboxes
  • Loading branch information
andmor- committed Oct 31, 2024
1 parent 7ec0c19 commit 64c3dd9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions clarin_bootstrap.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ libraries-override:
bootstrap_barrio/slide_nav: false
ckeditor5-stylesheets:
- css/ckeditor5-clarin.style.min.css
- css/edit-form-styles.style.min.css
regions:
navigation_left: 'Navigation - left'
navigation_collapsible: 'Navigation (Collapsible)'
Expand Down
18 changes: 18 additions & 0 deletions scss/edit-form-styles.style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.field--widget-options-buttons legend > span {
font-size: 18px;
margin-bottom: 8px;
}

.form-checkboxes {
display: flex;
flex-flow: row wrap;

> div.form-item {
display: block;
flex-grow: 1;
margin-bottom: 5px;
margin-top: 5px;
padding-right: 1rem;
width: 45%;
}
}

0 comments on commit 64c3dd9

Please sign in to comment.