Skip to content

Commit 985c60a

Browse files
committed
WD-30045 - Fix margin on /docs page and other PR comments
1 parent f5ce448 commit 985c60a

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

static/sass/_snapcraft_p-navigation.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@
2020
// starts on the right outside of the screen
2121
--right: 110%;
2222

23-
&--wrapper {
23+
.p-navigation__items-wrapper {
2424
position: relative;
2525
}
2626
}
2727

28+
.l-docs__main .p-navigation__nav {
29+
margin-top: 0;
30+
}
31+
2832
.p-navigation__items {
2933
padding-bottom: 0;
3034
position: static;
@@ -72,7 +76,7 @@
7276
syntax: "<percentage>";
7377
}
7478

75-
.p-navigation__nav--wrapper {
79+
.p-navigation__items-wrapper {
7680
display: flex;
7781
flex-direction: row;
7882
justify-content: space-between;

templates/_header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<div class="p-navigation__row u-fixed-width">
3030
{% endif %}
3131
<nav class="p-navigation__nav">
32-
<div class="p-navigation__nav--wrapper">
32+
<div class="p-navigation__items-wrapper">
3333
<ul class="p-navigation__items" role="menu">
3434
<li
3535
class="p-navigation__item {% if request.path == '/store' %}is-selected{% endif %}"

0 commit comments

Comments
 (0)