diff --git a/.vitepress/theme/layouts/Article.vue b/.vitepress/theme/layouts/Article.vue index d451d6d..f0dba4f 100644 --- a/.vitepress/theme/layouts/Article.vue +++ b/.vitepress/theme/layouts/Article.vue @@ -680,7 +680,7 @@ section { } img { - max-width: 100%; + width: 50%; border-radius: var(--md-sys-shape-corner-small); } @@ -689,6 +689,8 @@ section { pre { padding-block-end: 12px; + overflow: overlay; + &.shiki { position: relative; } @@ -711,9 +713,6 @@ section { table { margin-block-end: 12px; - padding: 0px; - - width: calc(100% - 48px); } ul, diff --git a/.vitepress/theme/styles/_components/table.scss b/.vitepress/theme/styles/_components/table.scss index 6fbf374..8cca364 100644 --- a/.vitepress/theme/styles/_components/table.scss +++ b/.vitepress/theme/styles/_components/table.scss @@ -24,7 +24,7 @@ table { } thead { - @include mixin.typescale-style("body-large", $font-variation-settings: 700); + @include mixin.typescale-style("body-large", $font-variation-settings: "wght" 700); white-space: nowrap;