Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

menu-bar and standalone icons #567

Closed
dioklecijan opened this issue Apr 3, 2015 · 1 comment
Closed

menu-bar and standalone icons #567

dioklecijan opened this issue Apr 3, 2015 · 1 comment

Comments

@dioklecijan
Copy link

From docs:
The menu bar supports icons, which can be positioned above, below, to the left, or to the right of the text. Icons can also be used standalone.

My question is how to align standalone icons? In other words, how to put the icon in the center (horz and vert)?

@gakimball
Copy link
Contributor

You can just drop an image into the <a> and it will work just fine. There is an issue right now where the image still has a bottom margin, because it's expecting text to be below it. You can fix it for now with this selector:

.menu-bar > li > a > img:first-child:last-child {
  margin: 0;
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants