From 9c44da4085adb2aff841e45069020b0b9ba6d57b Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Tue, 9 Dec 2025 12:34:33 +0000 Subject: [PATCH] Add border radius to content images --- website/src/css/customTheme.scss | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/website/src/css/customTheme.scss b/website/src/css/customTheme.scss index 922d7581983..9c0dc1ba08d 100644 --- a/website/src/css/customTheme.scss +++ b/website/src/css/customTheme.scss @@ -404,6 +404,18 @@ hr { font-weight: 600; } + img { + border-radius: var(--ifm-global-radius); + &.center { + width: 100%; + justify-content: center; + } + &.half-size { + max-height: 50vh; + object-fit: contain; + } + } + table { display: table; width: 100%; @@ -2361,17 +2373,6 @@ figcaption > p:last-child { padding: 0 var(--ifm-pre-padding); } -img { - &.center { - width: 100%; - justify-content: center; - } - &.half-size { - max-height: 50vh; - object-fit: contain; - } -} - @media only screen and (max-width: 600px) { .tweet { display: none;