summaryrefslogtreecommitdiff
path: root/assets/css/utils
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-05-09 15:08:31 +0800
committerEltrac <hi@guhub.cn>2025-05-09 15:08:31 +0800
commit95b2405f8853b539f0b6ef0d7f5ff02471670958 (patch)
tree2ecc1bc29c56f670b94c8cfc37b03d6fad1d6979 /assets/css/utils
parent12c459cc9853283cbd66f035a2f335d37005f6ff (diff)
fix: iframe overflowing and blocked by toc
Diffstat (limited to 'assets/css/utils')
-rw-r--r--assets/css/utils/_utility.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/css/utils/_utility.scss b/assets/css/utils/_utility.scss
index 9b857fdb..878ac8f2 100644
--- a/assets/css/utils/_utility.scss
+++ b/assets/css/utils/_utility.scss
@@ -32,6 +32,8 @@ figure {
display: flex;
justify-content: center;
width: 100%;
+ z-index: 10;
+ position: relative;
@media screen and (min-width: 768px) {
width: calc(var(--page-width) + 10rem);