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%;
}
.intro {
flex: 1 0 auto;
flex: 0 0 auto;
}
.patterns {
flex: 1 1 auto;

View File

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

File diff suppressed because one or more lines are too long

View File

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

View File

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