Skip to content

Commit

Permalink
Don't let it optimize away our variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Feb 24, 2021
1 parent 85d7a62 commit 869ff5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/css/drogue.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.navbar-brand-image {
height: calc(var(--navbar-height) * 0.75);
}
1 change: 1 addition & 0 deletions src/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
@import "footer.css";
@import "highlight.css";
@import "print.css";
@import "drogue.css";
2 changes: 1 addition & 1 deletion src/partials/header-content.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<nav class="navbar">
<div class="navbar-brand">
<a class="navbar-item" href="{{{or site.url (or siteRootUrl siteRootPath)}}}">
<img style="height: calc(var(--navbar-height)*0.75)" src="{{{uiRootPath}}}/img/logo.png" alt="{{site.title}}"/>
<img class="navbar-brand-image" src="{{{uiRootPath}}}/img/logo.png" alt="{{site.title}}"/>
</a>

<button class="navbar-burger" data-target="topbar-nav">
Expand Down

0 comments on commit 869ff5c

Please sign in to comment.