Skip to content

Commit 30e3012

Browse files
committed
Better account for gutter in code width
1 parent ff997f7 commit 30e3012

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/css/unison-share/page/code-page.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
.code-page {
2+
/* increase the readable-column-width-medium size to account for extra gutter
3+
* space added by the fold toggle */
4+
--readable-column-width-medium: calc(var(--readable-column-width-medium) + 2rem)
5+
}
6+
17
.code-page .sidebar .namespace-header {
28
display: flex;
39
flex-direction: row;

0 commit comments

Comments
 (0)