Improve styles for overly long selectors in checks results

pull/12195/head
Sage Abdullah 2024-07-31 11:10:49 +01:00
rodzic 1e517bac27
commit 85961c314f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: EB1A33CC51CC0217
2 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -55,6 +55,7 @@
padding: theme('spacing.1');
gap: theme('spacing.[1.5]');
width: auto;
max-width: 100%;
}
&:hover,
@ -73,6 +74,12 @@
}
}
.w-a11y-result__selector-text {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.w-a11y-result__icon {
@apply w-transition hover:w-transform;

Wyświetl plik

@ -13,7 +13,7 @@
aria-label="{% trans 'Show issue' %}"
type="button"
>
<span data-a11y-result-selector-text></span>
<span class="w-a11y-result__selector-text" data-a11y-result-selector-text></span>
{% icon name="link-external" classname="w-a11y-result__icon" %}
</button>
</div>