Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markd.otto@gmail.com>2020-09-28 10:39:29 +0300
committerGitHub <noreply@github.com>2020-09-28 10:39:29 +0300
commitb060c9e3d2f69f9dd2479ea850f81d5ff37ac772 (patch)
treef96d7b73089c4683beecca5fe2f88769a556f659 /site/layouts
parent6c2abf3a1ec67f3e03d3b3ce4ce545462c7eba11 (diff)
Convert SVGs in navbar and subnav to pixels (#31767)
Diffstat (limited to 'site/layouts')
-rw-r--r--site/layouts/partials/docs-navbar.html2
-rw-r--r--site/layouts/partials/docs-subnav.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/site/layouts/partials/docs-navbar.html b/site/layouts/partials/docs-navbar.html
index e62c050f50..d75337141f 100644
--- a/site/layouts/partials/docs-navbar.html
+++ b/site/layouts/partials/docs-navbar.html
@@ -1,7 +1,7 @@
<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">
diff --git a/site/layouts/partials/docs-subnav.html b/site/layouts/partials/docs-subnav.html
index 31000ccfbe..0cf60eb1a7 100644
--- a/site/layouts/partials/docs-subnav.html
+++ b/site/layouts/partials/docs-subnav.html
@@ -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>