From 5989c7672b99bf0b4b6effba98ac7fb57587754b Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 14 Feb 2024 10:02:09 -0800 Subject: [PATCH] dejank badge displays --- src/app/document/view/[slug]/DocumentViewer.tsx | 12 +++++++----- src/app/globals.css | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/app/document/view/[slug]/DocumentViewer.tsx b/src/app/document/view/[slug]/DocumentViewer.tsx index ada6f48..c48b39a 100644 --- a/src/app/document/view/[slug]/DocumentViewer.tsx +++ b/src/app/document/view/[slug]/DocumentViewer.tsx @@ -50,11 +50,13 @@ export default function DocumentViewer({ slug }: Readonly<{ slug: string }>) { {epoch2datestring(dates[dates.length - 1])}

- - - - Revision {latest} - +
+ + + + Revision {latest} + +

Abstract

diff --git a/src/app/globals.css b/src/app/globals.css index f1ec6f8..0222888 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -21,11 +21,11 @@ a:hover { } .button-default { - @apply bg-blue-600 text-slate-100 hover:bg-blue-400 font-semibold rounded py-2 px-4 my-2 shadow-sm shadow-slate-500; + @apply bg-blue-600 text-slate-100 hover:bg-blue-400 font-semibold rounded py-2 px-4 my-2 shadow-sm shadow-slate-400; } .badge-base { - @apply px-3 py-1.5 rounded inline-block w-fit mr-2 my-1 text-slate-50 border-2 shadow-sm shadow-slate-500; + @apply px-3 py-1.5 rounded inline-block w-fit text-slate-50 border-2 shadow-sm shadow-slate-400; } .badge-draft {