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:
Steve Ruiz 2023-12-19 11:24:52 +00:00 committed by GitHub
parent 80f8c98754
commit 5f9ab64838
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,6 +137,10 @@
padding: 0px; padding: 0px;
} }
.tlui-button__icon-left {
margin-right: var(--space-2);
}
/* Hinted */ /* Hinted */
.tlui-button__icon[data-state='hinted']::after { .tlui-button__icon[data-state='hinted']::after {