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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="options_actions">
|
<div class="options_actions">
|
||||||
<button class="btn--action" @click="onResetButtonClick">
|
<button class="btn--action" @click="onResetButtonClick">
|
||||||
{{ $t('options.reset-button') }}
|
{{ $t('options.reset-button') }}
|
||||||
</button>
|
</button>
|
||||||
<button class="btn--action" @click="onSearchButtonConfirm">
|
<button class="btn--action" @click="onSearchButtonConfirm">
|
||||||
{{ $t('options.search-button') }}
|
{{ $t('options.search-button') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
@@ -330,8 +330,16 @@ export default defineComponent({
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@use '../../styles/dropdown';
|
@use '../../styles/dropdown';
|
||||||
@use '../../styles/dropdown-filters';
|
@use '../../styles/dropdown-filters';
|
||||||
|
@use '../../styles/responsive';
|
||||||
|
|
||||||
.filters-options > .dropdown_wrapper {
|
.dropdown_wrapper {
|
||||||
max-height: calc(100vh - 18.5em);
|
display: grid;
|
||||||
|
grid-template-rows: 1fr auto;
|
||||||
|
overflow: hidden;
|
||||||
|
max-height: 530px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.options_content {
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ h1.option-title {
|
|||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.5em;
|
gap: 0.5em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 1em;
|
margin-top: 0.5em;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -40,10 +40,3 @@
|
|||||||
padding: 1em;
|
padding: 1em;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include responsive.smallScreen {
|
|
||||||
.dropdown_wrapper {
|
|
||||||
font-size: 1.1em;
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user