We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f99033 commit 14c7543Copy full SHA for 14c7543
templates/header/topbar_end.html
@@ -9,7 +9,7 @@
9
The docs.rs dropdown menu
10
#}<li class="pure-menu-item pure-menu-has-children">
11
<a href="#" class="pure-menu-link" aria-label="docs.rs">docs.rs</a>
12
- <ul class="pure-menu-children">
+ <ul class="pure-menu-children aligned-icons">
13
{%- call macros::menu_link_with_icon_solid(
14
href="/about",
15
text="About docs.rs",
templates/style/style.scss
@@ -215,6 +215,15 @@ div.container {
215
}
216
217
218
+ul.aligned-icons .fa {
219
+ width: 1.5em;
220
+ display: inline-flex;
221
+}
222
+
223
+ul.aligned-icons .fa::before {
224
+ margin: 0 auto;
225
226
227
body.centered div.container {
228
margin: 0 auto;
229
0 commit comments