Skip to content

Commit 7f63313

Browse files
committed
set width on SVGs so they are constrained when styles are disabled
1 parent e6b7992 commit 7f63313

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/css/header.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ body {
4343
}
4444

4545
.navbar-brand img {
46-
height: inherit;
4746
width: inherit;
4847
}
4948

src/partials/footer-content.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<footer class="footer">
22
<div class="footer-main">
33
<figure class="footer-brand">
4-
<a class="logo" href="https://asciidoctor.org"><img src="{{uiRootPath}}/img/asciidoctor-logo.svg" alt="Asciidoctor"></a>
4+
<a class="logo" href="https://asciidoctor.org"><img src="{{uiRootPath}}/img/asciidoctor-logo.svg" alt="Asciidoctor" width="48"></a>
55
<figcaption class="footer-brand-name"><a href="https://asciidoctor.org">Asciidoctor</a></figcaption>
66
</figure>
77
<ul class="footer-brand-links">

src/partials/header-content.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<header class="header">
22
<nav class="navbar">
33
<div class="navbar-brand">
4-
<a class="navbar-item logo" title="Asciidoctor" href="https://asciidoctor.org"><img src="{{{uiRootPath}}}/img/asciidoctor-logo.svg" alt="Asciidoctor"></a>
4+
<a class="navbar-item logo" title="Asciidoctor" href="https://asciidoctor.org"><img src="{{{uiRootPath}}}/img/asciidoctor-logo.svg" alt="Asciidoctor" width="48"></a>
55
<button class="navbar-burger" data-target="topbar-nav">
66
<span></span>
77
<span></span>

0 commit comments

Comments
 (0)