ionlyseespots / ambient-design

Ambient is a CSS ( flexbox ) framework. Built as a lightweight and modular HTML5 layout methodology.
http://ionlyseespots.github.io/ambient-design/index.html
MIT License
15 stars 3 forks source link

centering first article not in main does not center inside div ui-view #23

Closed ionlyseespots closed 9 years ago

ionlyseespots commented 9 years ago

Centering needs to work within a ui-view environment.

Add a wrapper attribute am-wrapper

ionlyseespots commented 9 years ago

Centering works now.

ionlyseespots commented 9 years ago

Update to account for wrapping div to allow flex centering first ARTICLE not in main. ie: <div ui-view>

article
    h1
        Hello, world!
    /h1
/article
div ui-view
    article
        h1
            Hello, world!
        /h1
    /article
/div
ionlyseespots commented 9 years ago

Should this be a mixin within its own application? Unless it causes other issues I am fine leaving it in core.

ionlyseespots commented 9 years ago

I need to know exactly what we are doing with the custom attribute ui-view to ensure semantics are working properly in Ambient.