Remove custom CSS, use class from visually hidden plugin

This commit is contained in:
Oliver Davies 2018-10-25 00:29:10 +01:00
parent 9633b980d5
commit da1517ace2
2 changed files with 1 additions and 8 deletions

View file

@ -34,10 +34,3 @@ table,
pre {
@apply mb-6;
}
.element-invisible {
@apply absolute overflow-hidden break-normal;
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
width: 1px;
}

View file

@ -1,5 +1,5 @@
{% if page.tags %}
<h2 class="element-invisible">Tags</h2>
<h2 class="visuallyhidden">Tags</h2>
<ul class="list-reset flex flex-wrap">
{% for tag in page.tags|sort %}