1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-10-03 01:09:57 +01:00

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

Co-authored-by: patak <matias.capeletto@gmail.com>
This commit is contained in:
dilinger 2023-01-21 05:52:36 -05:00 committed by GitHub
parent 801b8fe027
commit be5d32cb4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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']" />