mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-02 21:08:12 +00:00
fix(options): dropdown responsiveness
This commit is contained in:
@@ -120,15 +120,15 @@
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="options_actions">
|
||||
<button class="btn--action" @click="onResetButtonClick">
|
||||
{{ $t('options.reset-button') }}
|
||||
</button>
|
||||
<button class="btn--action" @click="onSearchButtonConfirm">
|
||||
{{ $t('options.search-button') }}
|
||||
</button>
|
||||
</div>
|
||||
<div class="options_actions">
|
||||
<button class="btn--action" @click="onResetButtonClick">
|
||||
{{ $t('options.reset-button') }}
|
||||
</button>
|
||||
<button class="btn--action" @click="onSearchButtonConfirm">
|
||||
{{ $t('options.search-button') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</transition>
|
||||
@@ -330,8 +330,16 @@ export default defineComponent({
|
||||
<style lang="scss" scoped>
|
||||
@use '../../styles/dropdown';
|
||||
@use '../../styles/dropdown-filters';
|
||||
@use '../../styles/responsive';
|
||||
|
||||
.filters-options > .dropdown_wrapper {
|
||||
max-height: calc(100vh - 18.5em);
|
||||
.dropdown_wrapper {
|
||||
display: grid;
|
||||
grid-template-rows: 1fr auto;
|
||||
overflow: hidden;
|
||||
max-height: 530px;
|
||||
}
|
||||
|
||||
.options_content {
|
||||
overflow: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -78,7 +78,7 @@ h1.option-title {
|
||||
display: flex;
|
||||
gap: 0.5em;
|
||||
width: 100%;
|
||||
margin-top: 1em;
|
||||
margin-top: 0.5em;
|
||||
|
||||
button {
|
||||
width: 100%;
|
||||
|
||||
@@ -40,10 +40,3 @@
|
||||
padding: 1em;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
@include responsive.smallScreen {
|
||||
.dropdown_wrapper {
|
||||
font-size: 1.1em;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user