From 30015729e5d5a07d712b6e39c65899d6c3c7d203 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Mon, 12 Feb 2024 23:32:17 +0500 Subject: [PATCH] style: make tables better --- src/pages/notes/[...slug].astro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/notes/[...slug].astro b/src/pages/notes/[...slug].astro index 98c7ebd..f33672e 100644 --- a/src/pages/notes/[...slug].astro +++ b/src/pages/notes/[...slug].astro @@ -44,11 +44,15 @@ const formatDate = (date: Date) => { width: 100%; } th, td { - border: 1px solid #eee; + border: 1px solid #444; padding: 6px 10px; } + th { + text-align: left; + } table { border-collapse: collapse; + width: 100%; } pre { padding: 12px;