azlen / roam-themes

242 stars 57 forks source link

fix(sidebar-icon): remove `display:block;` to make icons align center again #5

Closed fky2015 closed 4 years ago

fky2015 commented 4 years ago

The code shown below will lead to icon not aligning in center vertically:

https://github.com/azlen/roam-themes/blob/b4e92592e9c6b28cfcd8785e4854817a5bcb4faa/zenith.css#L275-L277

image

Just simply remove the code, icons will be aligned again:

image