Skip to content

Commit 2307ecb

Browse files
committed
update gallery styles for stratakit vars
1 parent d1236d6 commit 2307ecb

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

packages/sandcastle/src/Gallery.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@
1919
}
2020

2121
.search-input {
22-
/* Button width + padding on each side of it */
23-
padding-inline-end: calc(16px + 2 * 4px);
22+
--button-width: calc(12px + 2 * var(--stratakit-space-x05));
23+
padding-inline-end: calc(
24+
var(--button-width) + 2 * var(--stratakit-space-x1)
25+
);
2426
}
2527

2628
.clear-btn {
2729
position: absolute;
28-
right: 4px;
29-
padding: 2px;
30+
right: var(--stratakit-space-x1);
31+
padding: var(--stratakit-space-x05);
3032
min-block-size: unset;
3133

3234
svg {
@@ -50,7 +52,7 @@
5052
}
5153

5254
.empty-list {
53-
padding: 12px;
55+
padding: var(--stratakit-space-x3);
5456
border: 1px solid var(--stratakit-color-border-neutral-muted);
5557
border-radius: 8px;
5658
text-align: center;

0 commit comments

Comments
 (0)