Remove custom CSS, use class from visually hidden plugin
This commit is contained in:
parent
9633b980d5
commit
da1517ace2
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Reference in a new issue