mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
enhance(ui): polish left sidebar ui & transition
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
padding-right: 0.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex: 0 0 auto;
|
||||
position: sticky;
|
||||
position: -webkit-sticky;
|
||||
@@ -14,6 +15,12 @@
|
||||
user-select: none;
|
||||
line-height: 1;
|
||||
|
||||
> .l {
|
||||
width: var(--ls-left-sidebar-width);
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.it svg {
|
||||
transform: scale(0.8);
|
||||
}
|
||||
@@ -72,9 +79,9 @@
|
||||
}
|
||||
|
||||
.is-electron.is-mac .cp__header {
|
||||
> .l {
|
||||
padding-left: 78px;
|
||||
transition: all 0.25s;
|
||||
-webkit-transition: all 0.25s;
|
||||
}
|
||||
}
|
||||
|
||||
.cp__header .navigation svg {
|
||||
|
||||
Reference in New Issue
Block a user