Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [DebugBar] Toolbar display may be broken #8772

Merged
merged 4 commits into from
Apr 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions admin/css/debug-toolbar/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
See [contributing/css.md](../../../contributing/css.md).
6 changes: 4 additions & 2 deletions admin/css/debug-toolbar/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
width: 36px;

// Spacing
margin: 0px;
padding: 0px;
margin: 0;
padding: 0;

// Content
clear: both;
Expand Down 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: 1 addition & 1 deletion contributing/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Open your terminal, and navigate to CodeIgniter's root folder. To
generate the CSS file, use the following command:

```console
sass --no-source-map admin/css/debug-toolbar/toolbar.scss system/Debug/Toolbar/Views/toolbar.css`
sass --no-source-map admin/css/debug-toolbar/toolbar.scss system/Debug/Toolbar/Views/toolbar.css
```

Details:
Expand Down
6 changes: 4 additions & 2 deletions system/Debug/Toolbar/Views/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
z-index: 10000;
height: 36px;
width: 36px;
margin: 0px;
padding: 0px;
margin: 0;
padding: 0;
clear: both;
text-align: center;
cursor: pointer;
Expand Down 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