Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
b060c9e3
Unverified
Commit
b060c9e3
authored
4 years ago
by
Mark Otto
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Convert SVGs in navbar and subnav to pixels (#31767)
parent
6c2abf3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
site/layouts/partials/docs-navbar.html
+1
-1
site/layouts/partials/docs-navbar.html
site/layouts/partials/docs-subnav.html
+2
-2
site/layouts/partials/docs-subnav.html
with
3 additions
and
3 deletions
+3
-3
site/layouts/partials/docs-navbar.html
+
1
-
1
View file @
b060c9e3
<header
class=
"navbar navbar-expand-md navbar-dark bd-navbar"
>
<nav
class=
"container-xxl flex-wrap flex-md-nowrap"
aria-label=
"Main navigation"
>
<a
class=
"navbar-brand p-0 mr-2"
href=
"/"
aria-label=
"Bootstrap"
>
{{ partial "icons/bootstrap-white-fill.svg" (dict "class" "d-block my-1" "width" "
2.5rem
" "height" "
2rem
") }}
{{ partial "icons/bootstrap-white-fill.svg" (dict "class" "d-block my-1" "width" "
40px
" "height" "
32px
") }}
</a>
<button
class=
"navbar-toggler"
type=
"button"
data-toggle=
"collapse"
data-target=
"#bdNavbar"
aria-controls=
"bdNavbar"
aria-expanded=
"false"
aria-label=
"Toggle navigation"
>
...
...
This diff is collapsed.
Click to expand it.
site/layouts/partials/docs-subnav.html
+
2
-
2
View file @
b060c9e3
...
...
@@ -7,8 +7,8 @@
{{ partial "docs-versions" . }}
<button
class=
"btn bd-sidebar-toggle d-md-none py-0 px-1 ml-3 order-3 collapsed"
type=
"button"
data-toggle=
"collapse"
data-target=
"#bd-docs-nav"
aria-controls=
"bd-docs-nav"
aria-expanded=
"false"
aria-label=
"Toggle docs navigation"
>
{{ partial "icons/expand.svg" (dict "class" "bi bi-expand" "width" "
1.5rem
" "height" "
1.5rem
") }}
{{ partial "icons/collapse.svg" (dict "class" "bi bi-collapse" "width" "
1.5rem
" "height" "
1.5rem
") }}
{{ partial "icons/expand.svg" (dict "class" "bi bi-expand" "width" "
24px
" "height" "
24px
") }}
{{ partial "icons/collapse.svg" (dict "class" "bi bi-collapse" "width" "
24px
" "height" "
24px
") }}
</button>
</div>
</nav>
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment