From 6ce0168ba53555053f90f1e6f50c45e51ddf2255 Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Sun, 4 Sep 2022 10:14:11 +0200 Subject: [PATCH] docs: better alignment of icons Fixes issue with spacing between icon and text in backend docs headers. This reverts the changes from PR #5889 and #5701, which aligned menu/dropdown items when icons have different sizes, and implements an alternative fix which gives slightly better results, and also is more of a native Font Awesome solution: Font Awesome icons are designed on grid and share a consistent height. But they vary in width depending on how wide or narrow each symbol is. If you prefer to work with icons that have a consistent width, adding fa-fw will render each icon using the same width. --- docs/layouts/chrome/menu.html | 18 ++--- docs/layouts/chrome/navbar.html | 132 ++++++++++++++++---------------- docs/static/css/custom.css | 12 --- 3 files changed, 75 insertions(+), 87 deletions(-) diff --git a/docs/layouts/chrome/menu.html b/docs/layouts/chrome/menu.html index 3db7f54bd..85ea1e543 100644 --- a/docs/layouts/chrome/menu.html +++ b/docs/layouts/chrome/menu.html @@ -17,9 +17,9 @@