forked from mirror/misskey
refactor
This commit is contained in:
parent
624c9f3418
commit
ecb0861be4
@ -582,7 +582,7 @@ export default Vue.extend({
|
|||||||
$ui-font-size: 1em;
|
$ui-font-size: 1em;
|
||||||
$nav-icon-only-threshold: 1279px;
|
$nav-icon-only-threshold: 1279px;
|
||||||
$nav-hide-threshold: 650px;
|
$nav-hide-threshold: 650px;
|
||||||
$side-hide-threshold: 1090px;
|
$header-sub-hide-threshold: 1090px;
|
||||||
$left-widgets-hide-threshold: 1600px;
|
$left-widgets-hide-threshold: 1600px;
|
||||||
$right-widgets-hide-threshold: 1090px;
|
$right-widgets-hide-threshold: 1090px;
|
||||||
|
|
||||||
@ -682,7 +682,7 @@ export default Vue.extend({
|
|||||||
right: 16px;
|
right: 16px;
|
||||||
height: $header-height;
|
height: $header-height;
|
||||||
|
|
||||||
@media (max-width: $side-hide-threshold) {
|
@media (max-width: $header-sub-hide-threshold) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -919,11 +919,7 @@ export default Vue.extend({
|
|||||||
|
|
||||||
> main {
|
> main {
|
||||||
width: $main-width;
|
width: $main-width;
|
||||||
min-width: $main-width;
|
min-width: 0;
|
||||||
|
|
||||||
@media (max-width: $side-hide-threshold) {
|
|
||||||
min-width: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
> .content {
|
> .content {
|
||||||
> * {
|
> * {
|
||||||
@ -1055,7 +1051,7 @@ export default Vue.extend({
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: ($side-hide-threshold + 1px)) {
|
@media (min-width: ($header-sub-hide-threshold + 1px)) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user