Skip to content

Instantly share code, notes, and snippets.

@RobertKirk
Last active November 18, 2020 10:26
Show Gist options
  • Save RobertKirk/d861bb78ebb69267e8a45a2190419a1b to your computer and use it in GitHub Desktop.
Save RobertKirk/d861bb78ebb69267e8a45a2190419a1b to your computer and use it in GitHub Desktop.
Roam Zenith Theme vertical collapsed sections fix
/* First you need the main fix which you can get from @ViktorTabori here: https://twitter.com/ViktorTabori/status/1324811596326199303
This will just fix the collapsed sections in the side bar being vertical once collapsed
(although it's not perfect, and some spacing could probably be changed */
.window-headers:only-child {
text-orientation: mixed;
writing-mode: vertical-lr;
}
div[style*="max-height: 4.8em;"] {
max-height: unset !important
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment