Skip to content

Commit

Permalink
chore: Change actionbar button style attribute to css (#10020)
Browse files Browse the repository at this point in the history
  • Loading branch information
filzrev authored Jun 19, 2024
1 parent 6c64f5b commit b6a7126
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/modern/layout/_master.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<div class="content">
<div class="actionbar">
{{^_disableToc}}
<button class="btn btn-lg border-0 d-md-none" style="margin-top: -.65em; margin-left: -.8em"
<button class="btn btn-lg border-0 d-md-none"
type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas"
aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
<i class="bi bi-list"></i>
Expand Down
5 changes: 5 additions & 0 deletions templates/modern/src/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,11 @@ body[data-layout="landing"] {
display: flex;
align-items: flex-start;
margin-top: .5rem;

>button {
margin-top: -.65em;
margin-left: -.8em
}
}

article {
Expand Down

0 comments on commit b6a7126

Please sign in to comment.