From 480e83fa79155a83b9d6ae23fadea35e229f25a1 Mon Sep 17 00:00:00 2001 From: Anwarul Islam Date: Fri, 18 Jul 2025 05:52:31 +0600 Subject: [PATCH] Add shortcut key styles to globals.css --- apps/web/src/app/globals.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css index 2f7158cc..bc9638ef 100644 --- a/apps/web/src/app/globals.css +++ b/apps/web/src/app/globals.css @@ -86,3 +86,25 @@ overscroll-behavior-x: contain; } } + +.shortcut-key { + @apply inline-flex; + @apply font-sans; + @apply text-xs; + @apply rounded; + @apply px-2; + @apply min-w-[1.5rem]; + @apply min-h-[1.5rem]; + @apply leading-none; + @apply items-center; + @apply justify-center; + @apply shadow-sm; + @apply border; + + background-color: rgba(0, 0, 0, 0.2); + border-color: rgba(255, 255, 255, 0.1); + + &:not(:last-child) { + @apply mr-1; + } +}