Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ legend
.form-text
display: block

.invalid-feedback
word-break: break-all

.invalid-feedback + .form-text,
.form-text + .form-text
margin-top: $form-text-margin-top / 2
Expand Down
21 changes: 14 additions & 7 deletions app/components/folio/console/ui/ajax_input_component.sass
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@
&__inner
position: relative
flex: 1 1 auto
display: flex
align-items: stretch
display: grid
grid-template-columns: 1fr
align-items: start

&__input
flex: 1 1 auto
grid-column: 1
grid-row: 1
position: relative
z-index: 1
padding-right: px-to-rem(2 * 28px + 2 * 4px)
Expand All @@ -46,6 +48,10 @@
&::-webkit-inner-spin-button
-webkit-appearance: none

.invalid-feedback
grid-column: 1
grid-row: 2

// Improve native multi-select usability/look
&__input--select
&[multiple]
Expand All @@ -61,12 +67,13 @@
margin-left: px-to-rem(8px)

&__right
position: absolute
grid-column: 1
grid-row: 1
z-index: 2
top: 0
right: px-to-rem(4px)
height: 100%
justify-self: end
align-self: stretch
display: flex
margin-right: px-to-rem(4px)

&__button
height: 100%
Expand Down