mirror of
https://github.com/sendevia/website.git
synced 2026-03-05 23:32:45 +08:00
feat(theme): adjust image width and improve code block overflow
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user