Skip to content

Commit b6a7126

Browse files
authored
chore: Change actionbar button style attribute to css (#10020)
1 parent 6c64f5b commit b6a7126

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

templates/modern/layout/_master.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
<div class="content">
104104
<div class="actionbar">
105105
{{^_disableToc}}
106-
<button class="btn btn-lg border-0 d-md-none" style="margin-top: -.65em; margin-left: -.8em"
106+
<button class="btn btn-lg border-0 d-md-none"
107107
type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas"
108108
aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
109109
<i class="bi bi-list"></i>

templates/modern/src/layout.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ body[data-layout="landing"] {
161161
display: flex;
162162
align-items: flex-start;
163163
margin-top: .5rem;
164+
165+
>button {
166+
margin-top: -.65em;
167+
margin-left: -.8em
168+
}
164169
}
165170

166171
article {

0 commit comments

Comments
 (0)