Skip to content

Commit

Permalink
small style tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Mar 19, 2024
1 parent 5f73568 commit 8a39a7c
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 46 deletions.
91 changes: 46 additions & 45 deletions ui/scss/core/components/_input.scss
Original file line number Diff line number Diff line change
@@ -1,59 +1,60 @@
@use "sass:map";
@use 'sass:map';

.input-root {
width: 100%;
margin-bottom: $block-spacer;
display: flex;
flex-direction: column;
align-items: flex-start;

&.disabled {
filter: opacity(0.5);
}

&:not(.input-inline) {
label {
white-space: nowrap;
}
}
width: 100%;
margin-bottom: $block-spacer;
display: flex;
flex-direction: column;
align-items: flex-start;

&.disabled {
filter: opacity(0.5);
}

&:not(.input-inline) {
label {
white-space: nowrap;
}
}
}

.input-inline {
flex-direction: row;
justify-content: space-between;
align-items: center;

label {
margin-right: map-get($spacers, 1);
}

input, select {
width: 5rem;
}
flex-direction: row;
justify-content: space-between;
align-items: center;

label {
margin-right: map-get($spacers, 2);
}

input,
select {
width: 5rem;
}
}

.picker-group {
width: 100%;
display: flex;
width: 100%;
display: flex;

&> * {
flex: 1;
& > * {
flex: 1;

&:not(:last-child) {
margin-right: map-get($spacers, 3);
}
}
&:not(:last-child) {
margin-right: map-get($spacers, 3);
}
}
}

@include media-breakpoint-down(xl) {
.picker-group {
width: 100%;
flex-wrap: wrap;

&> * {
&:nth-child(2n) {
margin-right: 0 !important;
}
}
}
.picker-group {
width: 100%;
flex-wrap: wrap;

& > * {
&:nth-child(2n) {
margin-right: 0 !important;
}
}
}
}
2 changes: 1 addition & 1 deletion ui/scss/shared/_bootstrap_style_overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
}

.form-label {
margin-left: map-get($spacers, 1);
margin-left: map-get($spacers, 2);
}
}

Expand Down

0 comments on commit 8a39a7c

Please sign in to comment.