Skip to content

Commit 9c74ae0

Browse files
committed
content/static: update header items to explicitly set margins
li items are given a top margin on some pages (release notes being a notable example). Explicitly set all margin values to ensure no top margin is added. Change-Id: I4fec8130409b916cd3b10b53bfc8863c8235d28f Reviewed-on: https://go-review.googlesource.com/c/website/+/180759 Reviewed-by: Katie Hockman <[email protected]>
1 parent e0fc07b commit 9c74ae0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

content/static/style.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ div#nav table td {
292292
display: inline-flex;
293293
}
294294
.Header-menuItem:not(:last-of-type) {
295-
margin-bottom: 1rem;
295+
margin: 0 0 1rem 0;
296296
}
297297
.Header-menuItem,
298298
.Header-menuItem a:link,
@@ -368,8 +368,7 @@ div#nav table td {
368368
width: auto;
369369
}
370370
.Header-menuItem:not(:last-of-type) {
371-
margin-bottom: 0;
372-
margin-right: 3rem;
371+
margin: 0 3rem 0 0;
373372
}
374373
.Header-menuItem a:hover,
375374
.Header-menuItem a:focus {

0 commit comments

Comments
 (0)