mirror of
https://github.com/logseq/logseq.git
synced 2026-06-02 11:21:22 +00:00
enhance(mobile): set a max-width for mobile left-sidebar
This commit is contained in:
@@ -299,8 +299,7 @@
|
||||
{:class (if @open?
|
||||
"translate-x-0"
|
||||
"-translate-x-full")
|
||||
:style {:max-width "80vw"
|
||||
:padding-top (ui/main-content-top-padding)}}
|
||||
:style {:padding-top (ui/main-content-top-padding)}}
|
||||
(when @open?
|
||||
[:div.cp__header#head
|
||||
[:div.l.flex
|
||||
|
||||
@@ -64,7 +64,9 @@ html.is-mobile {
|
||||
|
||||
#left-bar {
|
||||
background-color: var(--ls-primary-background-color);
|
||||
|
||||
width: 80vw;
|
||||
max-width: 250px;
|
||||
|
||||
> .head-wrap {
|
||||
background-color: var(--ls-search-background-color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user