lib/assets/stylesheets/uniform/components/select.scss in uniform-ui-2.3.5 vs lib/assets/stylesheets/uniform/components/select.scss in uniform-ui-2.3.6

- old
+ new

@@ -6,11 +6,10 @@ @include text-overflow; position:relative; text-align: left; padding-right: 1.8em; &.active{ - z-index: 10000; .uniformSelect-edit-icon{ svg{ transform: rotate(180deg); } } @@ -74,15 +73,13 @@ } } } .uniformSelect-options{ - @include text-overflow; - position: absolute; - background: white; - z-index: 9999; + box-shadow: 0 0 15px 1px rgba(black, 0.2), 0 0 2px 1px rgba(black, 0.1) ; + background: white; button{ appearance: none; outline: none; border: none; background: none; @@ -131,29 +128,20 @@ left: 0.2em; font-size: 1.5em; } } -@include size-rule('sm'){ - .uniformSelect-options{ - top: 0 !important; - left: 0 !important; - min-height: 100vh; - width: 100vw; - padding: 1em; - button{ - margin-bottom: 0.5em; - border: 1px solid color('gray'); - &.uniformSelect-done{ - margin-bottom: 0; - } +.uniformSelect-modal{ + width: 100vw; + min-height: 100vh; + padding: 1em; + button{ + margin-bottom: 0.5em; + border: 1px solid color('gray'); + &.uniformSelect-done{ + margin-bottom: 0; } - .uniformSelect-options-actions{ - margin: 0 -1em; - } } - body.uniformModal-hideBody{ - & > *:not(.uniformSelect-options):not(.uniformDropdown-dropdown) { - position: fixed; - } + .uniformSelect-options-actions{ + margin: 0 -1em; } } \ No newline at end of file