mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-18 23:34:04 +02:00
Fixed filter-dropdown-menu going out of view (attempt1)
This commit is contained in:
parent
03037e2a9a
commit
ac67f2296c
1 changed files with 12 additions and 0 deletions
|
@ -46,6 +46,14 @@ export default {
|
||||||
@import "../assets/vars.scss";
|
@import "../assets/vars.scss";
|
||||||
@import "../assets/app.scss";
|
@import "../assets/app.scss";
|
||||||
|
|
||||||
|
@media only screen and (max-width: 600px) {
|
||||||
|
header-filter > div > .dropdown:last-of-type > filter-dropdown-menu{
|
||||||
|
left: auto;
|
||||||
|
right: 0;
|
||||||
|
max-width: 80vw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.filter-dropdown-menu {
|
.filter-dropdown-menu {
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
transition: all 0.2s;
|
transition: all 0.2s;
|
||||||
|
@ -64,6 +72,7 @@ export default {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
background: white;
|
background: white;
|
||||||
|
|
||||||
|
|
||||||
&.open {
|
&.open {
|
||||||
height: unset;
|
height: unset;
|
||||||
visibility: inherit;
|
visibility: inherit;
|
||||||
|
@ -102,6 +111,9 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.filter-dropdown-status {
|
.filter-dropdown-status {
|
||||||
@extend .btn-outline-normal;
|
@extend .btn-outline-normal;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Loading…
Add table
Reference in a new issue