Skip to content

Commit 2226e36

Browse files
committed
Fix border sheet.css
1 parent 21ae1a5 commit 2226e36

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## [Unreleased]
22
- Change base.css to use zinc-950 for dark color-bg
3+
- Fix border sheet.css
4+
35

46
## [1.0.3] - 2025-01-24
57
- Fix css:install not adding javascript_importmap_tags

lib/generators/css_zero/add/templates/app/assets/stylesheets/sheet.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.sheet {
22
background-color: var(--color-bg);
3-
border-inline-start-width: var(--border);
3+
border-inline-width: var(--sheet-border);
44
box-shadow: var(--shadow-lg);
55
block-size: var(--size-full);
66
color: var(--color-text);
@@ -41,11 +41,13 @@
4141
}
4242

4343
.sheet--left {
44+
--sheet-border: 0 1px;
4445
--sheet-margin: 0 auto;
4546
--sheet-transform: translateX(-100%);
4647
}
4748

4849
.sheet--right {
50+
--sheet-border: 1px 0;
4951
--sheet-margin: auto 0;
5052
--sheet-transform: translateX(100%);
5153
}

0 commit comments

Comments
 (0)