diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-07-04 22:43:17 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-07-04 22:43:17 +0900 |
| commit | ecb0861be4b3cd02758e24a6cde150581404dc16 (patch) | |
| tree | dc22bcead353f8e9ef739d9e9cd4e0d59ae142c4 /src/client | |
| parent | feat(client): ウィジェットを左にも置けるように (diff) | |
| download | misskey-ecb0861be4b3cd02758e24a6cde150581404dc16.tar.gz misskey-ecb0861be4b3cd02758e24a6cde150581404dc16.tar.bz2 misskey-ecb0861be4b3cd02758e24a6cde150581404dc16.zip | |
refactor
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app.vue | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/client/app.vue b/src/client/app.vue index 94d75ebe64..88c924aadf 100644 --- a/src/client/app.vue +++ b/src/client/app.vue @@ -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; } } |