Fix iconleft padding (#2345)
This PR fixes the icon padding (or margin) for helper buttons like Back to Content. Before: <img width="393" alt="image" src="https://github.com/tldraw/tldraw/assets/23072548/c584901c-e826-433a-b76c-08f67a13807c"> After: <img width="446" alt="image" src="https://github.com/tldraw/tldraw/assets/23072548/ed9aeb3b-70df-43a0-9241-c329093c5cf5"> ### Change Type - [x] `patch` — Bug fix ### Release Notes - Fixes the icon padding in back to content / pen mode buttons.
This commit is contained in:
parent
80f8c98754
commit
5f9ab64838
1 changed files with 4 additions and 0 deletions
|
@ -137,6 +137,10 @@
|
|||
padding: 0px;
|
||||
}
|
||||
|
||||
.tlui-button__icon-left {
|
||||
margin-right: var(--space-2);
|
||||
}
|
||||
|
||||
/* Hinted */
|
||||
|
||||
.tlui-button__icon[data-state='hinted']::after {
|
||||
|
|
Loading…
Reference in a new issue