diff --git a/lib/assets/styles/classes.scss b/lib/assets/styles/classes.scss index e2d61685a..b161292cb 100644 --- a/lib/assets/styles/classes.scss +++ b/lib/assets/styles/classes.scss @@ -162,6 +162,49 @@ } } +.input-group { + display: flex; + flex-direction: row; + grid-gap: var(--gap-sm); + flex-wrap: wrap; + max-width: 100%; + align-items: center; + + .multiselect { + width: 15rem; + } + + input { + flex-shrink: 2; + } + + &.shrink-first { + :first-child { + flex-shrink: 2; + flex-grow: 1; + flex-basis: min-content; + } + + :not(:first-child) { + flex-shrink: 1; + } + } +} + +.input-stack { + display: flex; + flex-direction: column; + + > * { + margin-bottom: var(--gap-md); + } + + > .multiselect { + width: unset; + height: inherit; + } +} + .standard-body { :last-child { margin-bottom: 0; diff --git a/package.json b/package.json index 97be07134..6460225c8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "omorphia", "type": "module", - "version": "0.4.20", + "version": "0.4.21", "files": [ "dist" ],