Skip to content

Commit 76110ad

Browse files
committed
hotfix: ensure titles are never off grid
1 parent f1d44b1 commit 76110ad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/CardDouble.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
border-top-style: double;
5757
border-left: var(--card-double-border-width) solid var(--theme-text);
5858
border-left-style: double;
59-
padding: calc(var(--card-double-top-gutter) * var(--theme-line-height-base)) 1ch 0px 1ch;
59+
padding: calc(var(--card-double-top-gutter) * var(--theme-line-height-base)) calc(1ch - 6px) 0px 1ch;
6060
}
6161

6262
.right {
@@ -75,7 +75,7 @@
7575
border-top-style: double;
7676
border-right: var(--card-double-border-width) solid var(--theme-text);
7777
border-right-style: double;
78-
padding: calc(var(--card-double-top-gutter) * var(--theme-line-height-base)) 1ch 0px 1ch;
78+
padding: calc(var(--card-double-top-gutter) * var(--theme-line-height-base)) 1ch 0px calc(1ch - 6px);
7979
}
8080

8181
.title {

components/ComboBox.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.root {
2-
padding: 0 1ch 0 1ch;
2+
padding: 0;
33
}

0 commit comments

Comments
 (0)