From a53fad7733a1527905fe4591c9e0a24d6fc6386d Mon Sep 17 00:00:00 2001 From: "vault-token-factory-spectrocloud[bot]" <133815545+vault-token-factory-spectrocloud[bot]@users.noreply.github.com> Date: Fri, 8 Dec 2023 17:42:46 -0700 Subject: [PATCH] chore: center images and round image corners (#1884) (#1886) * chore: center images and round image corners * chore: change table heading to bold --------- Co-authored-by: Lenny Chen (cherry picked from commit a978f01f14f9654a9fa2e402eae5268a27355e18) Co-authored-by: Lenny Chen <55669665+lennessyy@users.noreply.github.com> --- src/css/custom.scss | 9 +++++++++ src/css/table.scss | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/css/custom.scss b/src/css/custom.scss index 093fe755a4..91ac801218 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -195,3 +195,12 @@ h2.openapi__method-endpoint-path { .markdown .card h2 { font-size: 1rem; } + +// Center images and round image corners + +p img.markdown-image { + display: block; + margin-left: auto; + margin-right: auto; + border-radius: 1vw; +} diff --git a/src/css/table.scss b/src/css/table.scss index d82d75aee3..08b4b2ae11 100644 --- a/src/css/table.scss +++ b/src/css/table.scss @@ -15,7 +15,7 @@ th { padding: 16px; - font-weight: 500; + font-weight: bold; font-size: 0.75rem; line-height: 18px; letter-spacing: 0.02em;