Fix line-height in admin menu items

When items went over multiple lines, the distance between their lines
was the same as the distance between one element and another one. This
made it hard to differentiate how many elements there were.

Using a padding to separate the contents of one element and the contents
of the next one solves the issue.
This commit is contained in:
Javi Martín
2021-05-31 01:15:49 +02:00
parent de9c63f2dc
commit d3a4a7bca3

View File

@@ -142,8 +142,7 @@
li a { li a {
color: inherit; color: inherit;
display: block; display: block;
line-height: $line-height * 2; padding: $line-height / 2 $line-height / 4;
padding-left: $line-height / 4;
vertical-align: top; vertical-align: top;
&:hover { &:hover {