fix: make attachement removal button static & more visible #1067 (#1286)

Co-authored-by: patak <matias.capeletto@gmail.com>
pull/1352/head^2
dilinger 2023-01-21 05:52:36 -05:00 zatwierdzone przez GitHub
rodzic 801b8fe027
commit be5d32cb4a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -30,9 +30,8 @@ const toggleApply = () => {
<div
v-if="removable"
:aria-label="$t('attachment.remove_label')"
hover:bg="gray/40" transition-100 p-1 rounded-5 cursor-pointer
:class="[isHydrated && isSmallScreen ? '' : 'op-0 group-hover:op-100hover:']"
mix-blend-difference
class="bg-black/75 hover:bg-red/75"
text-white px2 py2 rounded-full cursor-pointer
@click="$emit('remove')"
>
<div i-ri:close-line text-3 :class="[isHydrated && isSmallScreen ? 'text-6' : 'text-3']" />