Skip to content

Commit

Permalink
Testing fix academicpages#1920 from academicpages
Browse files Browse the repository at this point in the history
  • Loading branch information
ShinjiniPandey committed Oct 17, 2024
1 parent 82707cf commit 76d8f31
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _sass/_masthead.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
white-space: nowrap;

&--lg {
padding-right: 2em;
padding-right: 3em;
font-weight: 1000;
}
}
4 changes: 3 additions & 1 deletion _sass/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -194,14 +194,15 @@

button {
position: absolute;
height: 100%;
height: 2.5rem;
right: 0;
padding: 0 0.5rem;
border: 0;
outline: none;
background-color: $primary-color;
color: #fff;
cursor: pointer;
z-index: 100;
}

.visible-links {
Expand All @@ -217,6 +218,7 @@
font-size: 1.57em;
text-transform: Capitalize;
text-align: center;
text-wrap: wrap;


a {
Expand Down
6 changes: 1 addition & 5 deletions assets/js/main.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/plugins/jquery.greedy-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function updateNav() {
breaks.push($vlinks.width());

// Move item to the hidden list
$vlinks.children().last().prependTo($hlinks);
$vlinks.children('*:not(.masthead__menu-item--lg)').last().prependTo($hlinks);

// Show the dropdown btn
if($btn.hasClass('hidden')) {
Expand Down

0 comments on commit 76d8f31

Please sign in to comment.