azlen / roam-themes

242 stars 57 forks source link

Zenith issue: When applying Right-to-left theme, right margin is too-big #9

Open e9man opened 4 years ago

e9man commented 4 years ago

Hi,

I love Zenith, and use it with another css theme, which allows right-to-left typing (as most of my writing is in Hebrew).

When I do so, there is a big margin to the right of the blocks (see attached image) and it's not aligned with the page header. Is there any parameters I can play with to fix that?

Thanks, Eran eranglicksman@gmail.com Screen Shot 2020-06-06 at 12 59 06

e9man commented 4 years ago

quick update: found a quick&dirty fix:

.roam-body-main { top: 0 !important; height: 100% !important; width: auto !important; position: relative !important; padding-left: 0px; /glix: changed 50px to 0px/ }

roam-right-sidebar-content > * > .flex-h-box {

padding: 15px 10px !important; /* glix: changed 10px to 60px) */

}

roam-right-sidebar-content > div > div:not(.flex-h-box) {

padding: 0px 0px 0px 40px; /* glix: changed second one from 20px to 0px */

}

.roam-article > div { padding: 20px 0px 30px 40px; } .rm-title-display, .rm-title-textarea { padding: 0px 50px; }

.rm-reference-container { padding: 0px 15px !important; }