Skip to content

Commit

Permalink
Don’t allow text decoration underline for sidebar logo
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonstyle committed May 5, 2022
1 parent bcfa97c commit 6522117
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/resources/projects/website/navigation/quarto-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ nav .nav-item.compact .nav-link {
padding-bottom: 0.5rem;
}

.sidebar-logo-link {
text-decoration: none;
}

.sidebar-navigation li a {
text-decoration: none;
}
Expand Down
2 changes: 1 addition & 1 deletion src/resources/projects/website/templates/sidebar.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<% if (sidebar.logo || (sidebar.title && !navbar)) { %>
<div class="pt-lg-2 mt-2 <%= alignCss %> sidebar-header<%= sidebar.logo && sidebar.title ? ' sidebar-header-stacked' : '' %>">
<% if (sidebar.logo) { %>
<a href="/">
<a href="/" class="sidebar-logo-link">
<img src="<%- sidebar.logo %>" alt="" class="sidebar-logo py-0 d-lg-inline d-none"/>
</a>
<% } %>
Expand Down

0 comments on commit 6522117

Please sign in to comment.