Skip to content

Commit cd6ba48

Browse files
committed
fix: add padding and font-family
If a dev changes CSS for h1, the toolbar dislpay will be broken.
1 parent b323702 commit cd6ba48

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

admin/css/debug-toolbar/toolbar.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@
8585
display: flex;
8686
font-weight: normal;
8787
margin: 0 0 0 auto;
88+
padding: 0;
89+
font-family: $base-font;
8890

8991
svg {
9092
width: 16px;

system/Debug/Toolbar/Views/toolbar.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
display: flex;
5353
font-weight: normal;
5454
margin: 0 0 0 auto;
55+
padding: 0;
56+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
5557
}
5658
#debug-bar h1 svg {
5759
width: 16px;

0 commit comments

Comments
 (0)