diff --git a/src/app.css b/src/app.css index 93df455113..d315544e0f 100644 --- a/src/app.css +++ b/src/app.css @@ -64,6 +64,16 @@ code { @apply bg-gray-50/40 dark:bg-gray-800/40; } +/* visibility:hidden is not focusable, so a keyboard user could never reveal these */ +.hover-reveal { + @apply opacity-0 pointer-events-none; +} + +.group:hover .hover-reveal, +.group:focus-within .hover-reveal { + @apply opacity-100 pointer-events-auto; +} + .marked a { @apply underline; } diff --git a/src/lib/components/NotificationToast.svelte b/src/lib/components/NotificationToast.svelte index 5862585226..d503f760b8 100644 --- a/src/lib/components/NotificationToast.svelte +++ b/src/lib/components/NotificationToast.svelte @@ -101,7 +101,7 @@ diff --git a/src/lib/components/chat/EmbeddedChatHistoryItem.svelte b/src/lib/components/chat/EmbeddedChatHistoryItem.svelte index 9a1eebf4ba..1abf14b762 100644 --- a/src/lib/components/chat/EmbeddedChatHistoryItem.svelte +++ b/src/lib/components/chat/EmbeddedChatHistoryItem.svelte @@ -22,7 +22,7 @@
@@ -41,9 +41,7 @@
- +
- - +
@@ -1225,7 +1225,7 @@
{$i18n.t('Search')}
- + diff --git a/src/lib/components/layout/Sidebar/ChannelItem.svelte b/src/lib/components/layout/Sidebar/ChannelItem.svelte index 2b6d20c658..834996ef4d 100644 --- a/src/lib/components/layout/Sidebar/ChannelItem.svelte +++ b/src/lib/components/layout/Sidebar/ChannelItem.svelte @@ -203,9 +203,7 @@ {#if ['dm'].includes(channel?.type)} -