Skip to content

Commit

Permalink
fix: add padding and font-family
Browse files Browse the repository at this point in the history
If a dev changes CSS for h1, the toolbar dislpay will be broken.
  • Loading branch information
kenjis committed Apr 13, 2024
1 parent b323702 commit cd6ba48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/css/debug-toolbar/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@
display: flex;
font-weight: normal;
margin: 0 0 0 auto;
padding: 0;
font-family: $base-font;

svg {
width: 16px;
Expand Down
2 changes: 2 additions & 0 deletions system/Debug/Toolbar/Views/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
display: flex;
font-weight: normal;
margin: 0 0 0 auto;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}
#debug-bar h1 svg {
width: 16px;
Expand Down

0 comments on commit cd6ba48

Please sign in to comment.