Skip to content

Commit e936ce3

Browse files
committed
fix readable width
1 parent 359a709 commit e936ce3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
.code-page {
22
/* 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);
3+
* space added by the fold toggle
4+
*
5+
* unfortunately it doesn't look like we can define css variable based off of
6+
* itself, so we're going its 45rem here because
7+
--readable-column-width-medium originally is 43 and we're adding 2rem;
8+
* */
9+
--readable-column-width-medium_original: 43rem;
10+
--readable-column-width-medium: calc(var(--readable-column-width-medium_original) + 2rem);
511
}
612

713
.code-page .sidebar .namespace-header {

0 commit comments

Comments
 (0)