fix: shortcut key size

This commit is contained in:
Liyas Thomas
2023-12-13 10:17:22 +05:30
parent 62b11fcec8
commit b522ae9e05
4 changed files with 13 additions and 10 deletions

View File

@@ -517,9 +517,10 @@ pre.ace_editor {
@apply bg-dividerLight;
@apply rounded;
@apply ml-2;
@apply px-1;
@apply min-w-[1.25rem];
@apply min-h-[1.25rem];
@apply px-0.5;
@apply min-w-[1rem];
@apply min-h-[1rem];
@apply leading-none;
@apply items-center;
@apply justify-center;
@apply border border-dividerDark;

View File

@@ -582,9 +582,10 @@ pre.ace_editor {
@apply bg-dividerLight;
@apply rounded;
@apply ml-2;
@apply px-1;
@apply min-w-[1.25rem];
@apply min-h-[1.25rem];
@apply px-0.5;
@apply min-w-[1rem];
@apply min-h-[1rem];
@apply leading-none;
@apply items-center;
@apply justify-center;
@apply border border-dividerDark;

View File

@@ -572,9 +572,10 @@ pre.ace_editor {
@apply bg-dividerLight;
@apply rounded;
@apply ml-2;
@apply px-1;
@apply min-w-[1.25rem];
@apply min-h-[1.25rem];
@apply px-0.5;
@apply min-w-[1rem];
@apply min-h-[1rem];
@apply leading-none;
@apply items-center;
@apply justify-center;
@apply border border-dividerDark;

View File

@@ -51,7 +51,7 @@
class="items-center self-center ml-6 -mr-2 svg-icons"
:class="{ 'text-accent': activeInfoIcon }"
/>
<div v-if="shortcut.length" class="ml-4 <sm:hidden font-medium">
<div v-if="shortcut.length" class="ml-4 inline-flex <sm:hidden font-medium">
<kbd
v-for="(key, index) in shortcut"
:key="`key-${index}`"