From 34ffdee2661cb29ac7b3a91dfea53dc160295e1e Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Tue, 7 Jan 2025 10:52:14 +0100 Subject: [PATCH] fix style --- src/app.css | 6 +++--- src/features/menu/index.module.css | 5 ----- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/app.css b/src/app.css index 32f54b5..6bbf409 100644 --- a/src/app.css +++ b/src/app.css @@ -36,6 +36,7 @@ --text-bold: 700; --text-bolder: 900; + --text-xs: .7rem; --text-s: .8rem; --text-m: 1rem; --text-l: 1.25rem; @@ -162,6 +163,7 @@ del { } kbd { + display: inline-block; background-color: var(--surface-600); border-radius: var(--radii-m); border: 1px solid var(--surface-500); @@ -169,9 +171,7 @@ kbd { 0 1px 1px rgba(0, 0, 0, 0.2), 0 2px 0 0 rgba(255, 255, 255, 0.7) inset; color: var(--text-2); - display: inline-block; - font-size: var(--text-s); - font-weight: var(--text-bold); + font-size: var(--text-xs); line-height: 1; padding: var(--padding-xs) var(--padding-s); white-space: nowrap; diff --git a/src/features/menu/index.module.css b/src/features/menu/index.module.css index 7c205a7..bf19523 100644 --- a/src/features/menu/index.module.css +++ b/src/features/menu/index.module.css @@ -61,11 +61,6 @@ &:hover { background-color: var(--surface-600); } - - & > sub { - color: var(--text-2); - text-align: end; - } } }