Skip to content

Commit 3ead616

Browse files
committed
update responsive nature of the header
1 parent 5692e3a commit 3ead616

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

themes/vocabulary_theme/templates/layout.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
class="logo margin-top-small"
5555
xmlns="http://www.w3.org/2000/svg"
5656
preserveAspectRatio="xMidYMid meet"
57-
viewBox="0 0 384 46">
57+
viewBox="0 0 284 46">
5858
<use href="#opensource"></use>
5959
</svg>
6060
</a>
@@ -126,7 +126,7 @@
126126
<div class="navbar-item has-dropdown is-hoverable">
127127
<a class="navbar-link is-arrowless {% if this.is_child_of('/archives') %} is-active{% endif%}">Archives<i
128128
class="icon caret-down"></i></a>
129-
<div class="navbar-dropdown">
129+
<div class="navbar-dropdown is-right">
130130
{% for href, title in [
131131
['/archives/old-tech-blog', 'CC Tech Blog (2007-2014)'],
132132
['https://lists.ibiblio.org/pipermail/cc-devel/', 'cc-devel mailing list (2005-2015)'],
@@ -230,7 +230,7 @@
230230
<a href="{{ '/blog'|url }}" class="menu-item">Blog</a>
231231
</li>
232232
<li>
233-
<a href="{{ '/contributing-code'|url }}" class="menu-item">Contribution Guidelines</a>
233+
<a href="{{ '/contributing-code'|url }}" class="menu-item">Contributing Guidelines</a>
234234
</li>
235235
<li>
236236
<a href="{{ '/community/community-team'|url }}" class="menu-item">Community Teams</a>

webpack/sass/main.scss

+5
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@ pre {
3333
}
3434

3535
// Navbar
36+
.navbar-end {
37+
@extend .is-marginless;
38+
}
3639
.navbar-item {
40+
@extend .margin-left-normal;
41+
3742
&.has-dropdown {
3843
.navbar-dropdown {
3944
display: none;

0 commit comments

Comments
 (0)