Skip to content

Commit

Permalink
enhance(iPad): right sidebar resizer
Browse files Browse the repository at this point in the history
  • Loading branch information
leizhe authored and tiensonqin committed Jan 20, 2022
1 parent 65f800b commit f25af71
Showing 1 changed file with 22 additions and 16 deletions.
38 changes: 22 additions & 16 deletions src/main/frontend/components/header.css
Expand Up @@ -239,29 +239,35 @@ html.is-native-ipad {
align-items: center;
}
}

.ls-left-sidebar-open {
.cp__header {
> .l {
/* background-color: transparent; */
}
}
}

.left-sidebar-inner {
> .wrap {
padding-top: 20px;
> .wrap {
padding-top: 20px;
}
}

.cp__right-sidebar-settings {
margin-top: -4px;
}
.cp__right-sidebar {
&-settings {
margin-top: -4px;
}

&-topbar {
padding-top: 37px;
}

.cp__right-sidebar-topbar {
padding-top: 37px;
&-inner {
.resizer {
top: 30vh;
width: 12px;
height: 40vh;
}

.resizer:hover {
background-color: var(--ls-guideline-color, #ddd);
}
}
}
}
}

html.is-native-iphone {
--ls-headbar-inner-top-padding: 36px;
Expand Down

0 comments on commit f25af71

Please sign in to comment.