mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-02 21:08:12 +00:00
chore: improved option dropdowns responsiveness
This commit is contained in:
@@ -336,7 +336,8 @@ export default defineComponent({
|
|||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: 1fr auto;
|
grid-template-rows: 1fr auto;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
max-height: 530px;
|
max-height: calc(100% - 4.5em);
|
||||||
|
top: 3.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.options_content {
|
.options_content {
|
||||||
|
|||||||
@@ -210,6 +210,10 @@ export default defineComponent({
|
|||||||
@use '../../styles/dropdown';
|
@use '../../styles/dropdown';
|
||||||
@use '../../styles/dropdown-filters';
|
@use '../../styles/dropdown-filters';
|
||||||
|
|
||||||
|
.dropdown_wrapper {
|
||||||
|
top: 2.5em;
|
||||||
|
}
|
||||||
|
|
||||||
.search_content > div {
|
.search_content > div {
|
||||||
margin: 0.5em auto;
|
margin: 0.5em auto;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ h1.option-title {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@include responsive.smallScreen{
|
@include responsive.smallScreen {
|
||||||
h1 {
|
h1 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
.dropdown_wrapper {
|
.dropdown_wrapper {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: calc(100% + 0.5em);
|
top: 0;
|
||||||
|
|
||||||
background-color: var(--clr-bg3);
|
background-color: var(--clr-bg3);
|
||||||
box-shadow: 0 0 5px 1px var(--clr-primary);
|
box-shadow: 0 0 5px 1px var(--clr-primary);
|
||||||
@@ -34,7 +34,6 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 550px;
|
max-width: 550px;
|
||||||
|
|
||||||
max-height: 750px;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
|
|||||||
@@ -24,8 +24,8 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
||||||
padding: 1em 0;
|
padding: 1em 0;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.journal_refreshed-date {
|
.journal_refreshed-date {
|
||||||
@@ -57,7 +57,6 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5em;
|
gap: 0.5em;
|
||||||
position: relative;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn--load-data {
|
.btn--load-data {
|
||||||
@@ -68,7 +67,7 @@
|
|||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include responsive.smallScreen{
|
@include responsive.smallScreen {
|
||||||
.journal_top-bar {
|
.journal_top-bar {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|||||||
@@ -130,7 +130,6 @@ export default defineComponent({
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5em;
|
gap: 0.5em;
|
||||||
|
|
||||||
position: relative;
|
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user