mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-20 02:06:42 -06:00
fix styling when element is not in a form-floating div
This commit is contained in:
parent
a237725d0d
commit
7f02b9436b
@ -1,4 +1,4 @@
|
||||
$height: $form-floating-height;
|
||||
$height: $input-height;
|
||||
$white: $white;
|
||||
$font-color: $input-color;
|
||||
$font-placeholder-color: $input-placeholder-color;
|
||||
@ -11,6 +11,11 @@ $spacing-l: $input-padding-x;
|
||||
$spacing-m: $input-padding-x;
|
||||
$spacing-s: $input-padding-x;
|
||||
|
||||
div.form-floating div.ss-main div.ss-single-selected,
|
||||
div.form-floating div.ss-main div.ss-multi-selected {
|
||||
height: $form-floating-height;
|
||||
}
|
||||
|
||||
@import './node_modules/slim-select/src/slim-select/slimselect.scss';
|
||||
|
||||
.ss-main {
|
||||
@ -42,8 +47,12 @@ $spacing-s: $input-padding-x;
|
||||
align-items: center;
|
||||
padding-left: $input-padding-x;
|
||||
padding-right: $input-padding-x;
|
||||
.ss-values .ss-disabled {
|
||||
padding: 4px 0px;
|
||||
|
||||
.ss-values {
|
||||
padding-top: $spacer * 2 !important;
|
||||
.ss-disabled {
|
||||
padding: 4px 0px;
|
||||
}
|
||||
}
|
||||
.ss-add {
|
||||
margin: 0 0.75rem;
|
||||
|
Loading…
Reference in New Issue
Block a user