mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-23 06:25:14 +00:00
refactor
This commit is contained in:
parent
624c9f3418
commit
ecb0861be4
1 changed files with 4 additions and 8 deletions
|
@ -582,7 +582,7 @@ export default Vue.extend({
|
|||
$ui-font-size: 1em;
|
||||
$nav-icon-only-threshold: 1279px;
|
||||
$nav-hide-threshold: 650px;
|
||||
$side-hide-threshold: 1090px;
|
||||
$header-sub-hide-threshold: 1090px;
|
||||
$left-widgets-hide-threshold: 1600px;
|
||||
$right-widgets-hide-threshold: 1090px;
|
||||
|
||||
|
@ -682,7 +682,7 @@ export default Vue.extend({
|
|||
right: 16px;
|
||||
height: $header-height;
|
||||
|
||||
@media (max-width: $side-hide-threshold) {
|
||||
@media (max-width: $header-sub-hide-threshold) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
@ -919,11 +919,7 @@ export default Vue.extend({
|
|||
|
||||
> main {
|
||||
width: $main-width;
|
||||
min-width: $main-width;
|
||||
|
||||
@media (max-width: $side-hide-threshold) {
|
||||
min-width: 0;
|
||||
}
|
||||
min-width: 0;
|
||||
|
||||
> .content {
|
||||
> * {
|
||||
|
@ -1055,7 +1051,7 @@ export default Vue.extend({
|
|||
display: block;
|
||||
}
|
||||
|
||||
@media (min-width: ($side-hide-threshold + 1px)) {
|
||||
@media (min-width: ($header-sub-hide-threshold + 1px)) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue