mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature: css: --is-mobile: add
This commit is contained in:
parent
06cf0eebce
commit
a733d81441
5 changed files with 47 additions and 10 deletions
|
|
@ -19,9 +19,10 @@
|
|||
width: 15%;
|
||||
}
|
||||
}
|
||||
|
||||
:root {
|
||||
--mobile-max-width: 600px;
|
||||
--min-one-panel-width: 1155px;
|
||||
--is-mobile: 0;
|
||||
}
|
||||
|
||||
@media only screen and (height <= 900px) and (width <= 600px) {
|
||||
|
|
@ -56,6 +57,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media only screen and (width <= 600px) {
|
||||
:root {
|
||||
--is-mobile: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (height <= 550px) and (width <= 600px) {
|
||||
.fm {
|
||||
height: 65%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue