Commit 5031292
authored
fix: fix color thumb vertical alignment (#4207)
## Description
Noticed this 1px misalignment because display inline-block is affected
by line-height.
<img width="55" alt="image"
src="https://github.com/user-attachments/assets/729e1a37-be3b-44dd-a672-855e6d87f4ad">
<img width="50" alt="image"
src="https://github.com/user-attachments/assets/f9930925-800c-4930-8a75-12383d8babe3">
## Steps for reproduction
1. click button
2. expect xyz
## Code Review
- [ ] hi @kof, I need you to do
- conceptual review (architecture, feature-correctness)
- detailed review (read every line)
- test it on preview
## Before requesting a review
- [ ] made a self-review
- [ ] added inline comments where things may be not obvious (the "why",
not "what")
## Before merging
- [ ] tested locally and on preview environment (preview dev login:
5de6)
- [ ] updated [test
cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env` file1 parent 9fd5ce0 commit 5031292
File tree
1 file changed
+1
-0
lines changed1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments