Skip to content

Commit

Permalink
Make padding-right uniform across all controls
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
  • Loading branch information
jimtng committed Aug 10, 2024
1 parent f59a29c commit e085410
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions bundles/org.openhab.ui.basic/web-src/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,13 @@
padding-left: 4px;
html.ui-layout-condensed & {
padding-left: 0;
padding-right: $form-row-desktop-padding-condensed;
}
@media screen and (max-width: $layout-tablet-size-threshold) {
padding-right: $form-row-mobile-padding;
html.ui-layout-condensed & {
padding-right: $form-row-mobile-padding-condensed;
}
}
font-weight: 700;
html.ui-capitalize-values & {
Expand Down Expand Up @@ -490,15 +494,17 @@
width: 100%;
}
&__buttons {
padding: 2px;
padding-top: 2px;
padding-bottom: 2px;
}
&__buttons-multiline {
margin: 6px 0;
html.ui-layout-condensed & {
margin: 0;
gap: 2px;
}
padding: 2px;
padding-top: 2px;
padding-bottom: 2px;
max-width: 70%;
display: flex;
flex-wrap: wrap;
Expand Down

0 comments on commit e085410

Please sign in to comment.