Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

class="middle" not center aligned on medium-tall toolbar #14

Closed
arthurevans opened this issue Oct 24, 2014 · 4 comments
Closed

class="middle" not center aligned on medium-tall toolbar #14

arthurevans opened this issue Oct 24, 2014 · 4 comments

Comments

@arthurevans
Copy link

I'm not sure whether this is a code issue or a documentation issue, but class="middle" doesn't work as I expected on a medium-tall toolbar. The #middleBar container is positioned at the bottom of the toolbar. If class="middle" is expected to work on tall bars, we should document that explicitly. (i.e., medium-tall bars are double-height and can take controls in the .top and .bottom containers; tall bars are triple-height and take .top, .middle and .bottom content.)

@caiowilson
Copy link

middleJustify does not work. 🍰

for now only Athur solution on SO works.

@frankiefu
Copy link
Contributor

Sorry I was not very clear. We fixed the documentation as it is intended behavior. Arthur's solution is still the way if you need to center-aligned item vertically. middleJustify was already there before this and it is for controlling how the items are aligned horizontally when they are placed in the middle bar.

@caiowilson
Copy link

oh, then yes, doc fixed. no vertical centering on medium-tall coming huh? Thanks anyway 👍
btw you should say middleJustify with vertical layout, i guess, can't be wrong being as clearer as crap :)

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

No branches or pull requests

3 participants