enhance(iPad): set min-width and max-width for right sidebar

pull/3924/head
leizhe 2022-01-11 19:27:59 +08:00 committed by Tienson Qin
parent fe9d4dc275
commit ba8fa550e6
2 changed files with 8 additions and 3 deletions

View File

@ -217,7 +217,10 @@ html.is-native-ipad {
--ls-headbar-height: 4rem;
#main-container {
padding-top: 40px;
padding-top: 0px;
#main-container-content {
padding-top: 0px;
}
.cp__header {
@ -225,7 +228,7 @@ html.is-native-ipad {
display: flex;
> .l {
/* background-color: var(--ls-primary-background-color); */
background-color: var(--ls-primary-background-color);
padding-top: 20px;
}

View File

@ -359,7 +359,9 @@ html[data-theme='dark'] {
}
&.open {
width: var(--ls-right-sidebar-width);
width: var(--ls-right-sidebar-width);
min-width: 260px;
max-width: 60vw;
}
&-scollable {