I have a curious Issue with displaying Examples in the Styleguide. The Styleguide is static generated, tested with 0.3.39 and 0.3.40 on Node 4.2.0.
Example that works
/*
Signet
Short Version of the Logo
markup:
<h1 class="signet">
<svg class="signet__icon">
<use xlink:href="/assets/img/symbol-sprite.svg#signet"></use>
</svg>
<span class="signet__text">DESIGNLOVR</span>
</h1>
Styleguide 1.2
*/
The Example with the Signet is fine, show a SVG Fragment.
The Example that not work:
/*
Page
Wrapper for the Main Page
markup:
<div class="page__circle">hello</div>
Styleguide 2.2
*/
Is a CSS Circle, 200px height and wide, also red. Inside the Shadow Dom wrap a Div the Example with display:none - dont where it comes.
Hey. You should have root sections defined. So, Styleguide 1 must exist if you use Styleguide 1.2. And Styleguide 2 must exist if you want to have Styleguide 2.2 visible.
Does this solve your problem?
I have a curious Issue with displaying Examples in the Styleguide. The Styleguide is static generated, tested with 0.3.39 and 0.3.40 on Node 4.2.0.
Example that works
The Example with the Signet is fine, show a SVG Fragment.
The Example that not work:
Is a CSS Circle, 200px height and wide, also red. Inside the Shadow Dom wrap a Div the Example with
display:none
- dont where it comes.Main Task for Generate the Styleguide: