Skip to content

Instantly share code, notes, and snippets.

@JimmyLv
Last active June 22, 2022 18:50
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JimmyLv/d4817e932be0f525f5efa02fa5b489a2 to your computer and use it in GitHub Desktop.
Save JimmyLv/d4817e932be0f525f5efa02fa5b489a2 to your computer and use it in GitHub Desktop.
/* vertical style of sidebar in custom.css */
.sidebar-item.content {
min-width: 33vw;
overflow-y: scroll;
}
.sidebar-item-list.scrollbar-spacing {
display: flex;
flex-direction: row;
padding-bottom: 0;
}
div#right-sidebar {
width: 50%;
}
/* hidden useless elements in export.css
.cp__right-sidebar-settings .ml-4.text-sm:last-child {
display: none;
}
.origin-top-right .menu-link:nth-child(1),
.origin-top-right .menu-link:nth-child(3),
.origin-top-right .menu-link:nth-child(6),
.origin-top-right .menu-link:nth-child(8) {
display: none;
}
.origin-top-right hr {
display: none;
}
.flashcards-nav {
display: none;
}
.nav-content-item.recent.is-expand {
display: none;
} */
@nhan000
Copy link

nhan000 commented Jun 7, 2022

Edit: JimmyLv has fixed the code above.

The code needs a fix in Logseq 0.7.2. From qwqpwp#5203 on Logseq Discord server:

delete ".shadow-lg" and it'll work as before (in 0.7.2 this class is changed into shadow-md instead)

https://discord.com/channels/725182569297215569/725182570131751005/983707633066344488

@JimmyLv
Copy link
Author

JimmyLv commented Jun 7, 2022

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment