Skip to content

Commit

Permalink
fix: 超长文本无法换行 & 表格右侧异常空白空间
Browse files Browse the repository at this point in the history
  • Loading branch information
Explorer-Dong committed Feb 2, 2025
1 parent 097fe9f commit ebd7cb2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/injects/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,14 @@
margin-left: 3px;
margin-right: 3px;
}

/* 解决超长字符串无法换行的问题 */
.md-typeset {
overflow-wrap: break-word;
}

/* 解决 KaTeX 表格在移动端的尾部有异常空白的问题 */
.md-typeset__table {
/* position: sticky; */
position: relative;
}

0 comments on commit ebd7cb2

Please sign in to comment.