Skip to content

Commit

Permalink
layout: increase margin on menu sidebar items
Browse files Browse the repository at this point in the history
Increase the margin on menu sidebar items (`#R-Topics`).

Prior to this change, the arrows of said items were quite close to the
edge of the viewport / screen, which makes for an... interesting
experience to look at.

Personal testing and consulting with one other person has concluded that
0.5em is good enough(tm).

Signed-off-by: Luca Zeuch <[email protected]>
  • Loading branch information
l-zeuch committed Mar 27, 2024
1 parent e293fde commit 6d39a31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions layouts/partials/custom-header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<link rel="stylesheet" href="{{ relURL "css/menu.css" }}">
6 changes: 6 additions & 0 deletions static/css/menu.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/* Increase the margin a little bit such that it doesn't look too crowded
* on the menu side bar.
*/
#R-topics {
margin-left: 0.5em;
}

0 comments on commit 6d39a31

Please sign in to comment.