Skip to content

Commit

Permalink
Revert "Fix links & menu padding"
Browse files Browse the repository at this point in the history
This reverts commit c262b98.
  • Loading branch information
petesfrench committed Nov 22, 2023
1 parent c262b98 commit a80daa9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
3 changes: 2 additions & 1 deletion static/sass/_global-settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ $color-mid-x-light: #e5e5e5;
$font-use-subset-latin: true;
$font-allow-cyrillic-greek-latin: true;
$font-display-option: fallback;
$breakpoint-navigation-threshold: $viewport-threshold;
$breakpoint-navigation-threshold: 1250px;
$threshold-6-12-col: $breakpoint-navigation-threshold;
$theme-default-nav: dark;
$grid-max-width: 80rem;
7 changes: 1 addition & 6 deletions static/sass/_pattern_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@ $meganav-height: 3rem;
}

@media (max-width: $breakpoint-navigation-threshold) {
.row {
display: unset;
}

.p-navigation__nav {
margin-left: 0;
overflow-y: auto;
Expand Down Expand Up @@ -417,7 +413,7 @@ $meganav-height: 3rem;
.p-navigation__item {
.p-navigation__link {
color: $color-mid-light;
// padding: 0.5rem 2rem 0.5rem 0;
padding: 0.5rem 2rem 0.5rem 0;
}
}

Expand Down Expand Up @@ -583,7 +579,6 @@ $meganav-height: 3rem;
}

.row {
display: unset;
padding-left: 0;
padding-right: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion templates/templates/meganav/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
<ul class="p-list">
{% for link in links_section.links %}
<li class="p-list__item">
<a class="dropdown-window__side-panel-link" href="{{ link.url }}">{{ link.title }}</a>
<a href="{{ link.url }}">{{ link.title }}</a>
</li>
{% endfor %}
</ul>
Expand Down
4 changes: 2 additions & 2 deletions templates/templates/meganav/navigation-nojs.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ <h3 class="p-heading--2 u-no-padding--left">{{side_nav_section.title}}</h3>
<ul class="p-list">
{% for link in links_section.links %}
<li class="p-list__item">
<a class="dropdown-window__side-panel-link" href="{{ link.url }}">{{ link.title }}</a>
<a href="{{ link.url }}">{{ link.title }}</a>
</li>
{% endfor %}
</ul>
Expand Down Expand Up @@ -190,7 +190,7 @@ <h3 class="p-heading--2 u-no-padding--left">{{side_nav_section.title}}</h3>
<ul class="p-list">
{% for link in links_section.links %}
<li class="p-list__item">
<a class="dropdown-window__side-panel-link" href="{{ link.url }}">{{ link.title }}</a>
<a href="{{ link.url }}">{{ link.title }}</a>
</li>
{% endfor %}
</ul>
Expand Down

0 comments on commit a80daa9

Please sign in to comment.