Skip to content

Commit 0469099

Browse files
committed
Fix up top-navbar tweaks
1 parent 0ae5807 commit 0469099

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

templates/style/_navbar.scss

+1-18
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ div.nav-container {
2828
color: var(--color-navbar-standard);
2929
/* The font size must be specified in pixels because the height is specified in pixels. */
3030
font: 16px $font-family-sans;
31-
position: relative;
3231

3332
.container, .pure-menu-horizontal {
3433
position: relative;
@@ -121,23 +120,7 @@ div.nav-container {
121120
outline: unset;
122121
}
123122

124-
125-
/* In some unusual situations, like a locally installed copy of "Fira Sans," elements
126-
of the navbar might overflow vertically and start interfering with the main body
127-
content. To ensure that doesn't happen, hide any vertical overflow.
128-
See https://github.com/rust-lang/docs.rs/issues/1669.
129-
*/
130-
.pure-menu-item a {
131-
max-height: 100%;
132-
overflow-x: hidden;
133-
text-overflow: ellipsis;
134-
}
135-
136-
.docsrs-logo, .pure-menu-item a {
137-
padding: 8px 1em;
138-
}
139-
140-
.pure-menu-item {
123+
.docsrs-logo, .pure-menu-item, .pure-menu-item a {
141124
height: 100%;
142125
}
143126

0 commit comments

Comments
 (0)