Skip to content

Commit 732f9a3

Browse files
committed
fix(coachmark): flex alignment + tokens changeset
1 parent 34b538c commit 732f9a3

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.changeset/lemon-weeks-work.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@spectrum-css/tokens": minor
3+
---
4+
5+
#### Tokens
6+
7+
Adds custom vars for coachmark action menu vertical spacing. These help provide consistent spacing between states when the action menu is and is not visible.
8+
9+
In `tokens/custom/large-vars.css`: `--spectrum-coachmark-action-menu-vertical-offset`.
10+
11+
In `tokens/custom/medium-vars.css`: `--spectrum-coachmark-action-menu-vertical-offset`.

components/coachmark/index.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
padding-block-start: var(--mod-coachmark-image-to-heading, var(--spectrum-coachmark-image-to-heading));
103103
display: flex;
104104
justify-content: space-between;
105-
align-items: center;
105+
align-items: flex-start;
106106
margin-block-end: var(--mod-coachmark-header-to-body, var(--spectrum-coachmark-header-to-body));
107107
}
108108

0 commit comments

Comments
 (0)