From f6f0f2c6475ede42756fcd9bc54b5e61069c9ea6 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Thu, 10 Oct 2024 11:27:11 -0500 Subject: [PATCH] refine table --- src/lib/scss/custom/common/_common.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/lib/scss/custom/common/_common.scss b/src/lib/scss/custom/common/_common.scss index 80495bf8..5d6e4e06 100644 --- a/src/lib/scss/custom/common/_common.scss +++ b/src/lib/scss/custom/common/_common.scss @@ -181,7 +181,10 @@ button:focus { &:has(.language-sql), &:has(.language-java), + &:has(.language-javascript), + &:has(.language-typescript), &:has(.language-csharp), + &:has(.language-python), &:has(.language-json) { background-color: black; color: white; @@ -194,9 +197,15 @@ button:focus { display: none !important; } - table, code { + table { margin-top: 1em !important; margin-bottom: 1em !important; + border-radius: 5px; + + th, td { + padding: 3px 5px !important; + border: 1px solid white; + } } p {