navigation component: division containing page include ignores vertical align property

  • 1
  • Problem
  • Updated 3 years ago
  • Not a Problem
I have a master page which is primarily a navigation header. One of the divisions of that header contains just a page include. The division is set to fit to content, with an alignment set to center. The included page is just a single dropdown-style navigation component.

No matter what I set the alignment property of the division in the master page to, the division always aligns to the top.
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Ah, Looks like I was wrong on this one. I was getting tripped up with this:
 .nx-include-panel {min-height: 100px;}
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,210 Points 5k badge 2x thumb
Matt~

So is it working as you'd like now or are you still stuck? 

Thanks!
Karen
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Thanks for following up Karen. Everything is working as expected. I thought it was aligning to the top, but it was really aligning center. It just had a minimum height that was bigger than the rest of my header, which made it look like it was aligning to the top. I just added some css to remove the minimum height, and everything looks as it should.