Skip to content

Commit

Permalink
fix(ui): top padding of left sidebar for ios mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 authored and tiensonqin committed Dec 9, 2021
1 parent 77ce2d8 commit c389467
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/main/frontend/components/header.css
Expand Up @@ -191,4 +191,8 @@ html.is-ios.is-safari {

html.is-native-ios {
--ls-headbar-inner-top-padding: 36px;

.cp__header > .r {
display: flex;
}
}
2 changes: 1 addition & 1 deletion src/main/frontend/components/sidebar.css
Expand Up @@ -188,7 +188,7 @@
width: 0;
height: 100vh;
position: fixed;
top: 0;
top: var(--ls-headbar-inner-top-padding);
left: 0;
z-index: 9;
transition: width 1.2s;
Expand Down

0 comments on commit c389467

Please sign in to comment.