layout fixes from the test site

This commit is contained in:
Heydon Pickering 2017-09-08 16:56:44 +01:00
parent 6322987983
commit fb0a4d09fb
5 changed files with 21 additions and 33 deletions

View File

@ -295,7 +295,7 @@ caption {
height: 100%; height: 100%;
} }
.intro { .intro {
flex: 1 0 auto; flex: 0 0 auto;
} }
.patterns { .patterns {
flex: 1 1 auto; flex: 1 1 auto;

View File

@ -401,27 +401,19 @@
<strong aria-hidden="true">Tags: </strong> <strong aria-hidden="true">Tags: </strong>
<ul aria-label="tags"> <ul aria-label="tags">
<li>
<svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false">
<li> <use xlink:href="#tag"></use>
<svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false"> </svg>
<use xlink:href="#tag"></use> <a href="https://thepaciellogroup.github.io/infusion/tags/metadata">metadata</a>
</svg> </li>
<a href="https://thepaciellogroup.github.io/infusion/tags/metadata">metadata</a>
</li>
<li>
<svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false">
<li> <use xlink:href="#tag"></use>
<svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false"> </svg>
<use xlink:href="#tag"></use> <a href="https://thepaciellogroup.github.io/infusion/tags/markdown">markdown</a>
</svg> </li>
<a href="https://thepaciellogroup.github.io/infusion/tags/markdown">markdown</a>
</li>
</ul> </ul>
</div> </div>

File diff suppressed because one or more lines are too long

View File

@ -11,16 +11,12 @@
<strong aria-hidden="true">Tags: </strong> <strong aria-hidden="true">Tags: </strong>
<ul aria-label="tags"> <ul aria-label="tags">
{{ range .Params.tags }} {{ range .Params.tags }}
{{ if ne . "example tag"}} <li>
{{ if ne . "another tag"}} <svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false">
<li> <use xlink:href="#tag"></use>
<svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false"> </svg>
<use xlink:href="#tag"></use> <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
</svg> </li>
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
</li>
{{ end }}
{{ end }}
{{ end }} {{ end }}
</ul> </ul>
</div> </div>

View File

@ -295,7 +295,7 @@ caption {
height: 100%; height: 100%;
} }
.intro { .intro {
flex: 1 0 auto; flex: 0 0 auto;
} }
.patterns { .patterns {
flex: 1 1 auto; flex: 1 1 auto;