Skip to content

Commit

Permalink
Apply review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bartaz committed Jul 1, 2024
1 parent ddd37f7 commit d0dbfcc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions scss/_patterns_navigation-reduced.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@

&.has-search-open {
// make sure reduced navigation items remain visible when search is open
// both classes needed for specificity
.p-navigation__nav .p-navigation__items {
display: inline-flex;
}
Expand Down
1 change: 1 addition & 0 deletions scss/_patterns_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ $spv-navigation-logo-bottom-position: 0.125rem; // 2px when 1rem is 16px

// STICKY NAVIGATION
.p-navigation.is-sticky,
// cover both --sticky and --reduced navigation
[class^='p-navigation--'].is-sticky {
position: sticky;
top: 0;
Expand Down
2 changes: 1 addition & 1 deletion templates/docs/examples/patterns/navigation/reduced.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="p-navigation__tagged-logo">
<a class="p-navigation__link" href="#">
<div class="p-navigation__logo-tag">
<img class="p-navigation__logo-icon" src="https://assets.ubuntu.com/v1/82818827-CoF_white.svg">
<img class="p-navigation__logo-icon" src="https://assets.ubuntu.com/v1/82818827-CoF_white.svg" alt="">
</div>
<span class="p-navigation__logo-title">Canonical Ubuntu</span>
</a>
Expand Down

0 comments on commit d0dbfcc

Please sign in to comment.