From 67a1c80696ac2692e076130b5b8d78b47284e8e6 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Tue, 27 Sep 2022 15:01:55 +0800 Subject: [PATCH] fix: table header cell text-align --- web/css/uoj-bs5.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/web/css/uoj-bs5.css b/web/css/uoj-bs5.css index 529cca4..c8c7195 100644 --- a/web/css/uoj-bs5.css +++ b/web/css/uoj-bs5.css @@ -148,3 +148,15 @@ label { padding: 1em; background-color: rgba(var(--bs-light-rgb)); } + +.markdown-body table th[align='left'] { + text-align: left; +} + +.markdown-body table th[align='center'] { + text-align: center; +} + +.markdown-body table th[align='right'] { + text-align: right; +}