Skip to content

Commit f583abd

Browse files
committed
update latex formate
1 parent ce5e68f commit f583abd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

client/src/views/PostDetailView.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,11 @@ onUnmounted(() => {
157157
border-radius: 0.75rem; /* rounded-xl */
158158
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
159159
}
160+
161+
/* 给数学公式一点呼吸空间,防止太拥挤 */
162+
.katex-display {
163+
margin: 1.5em 0;
164+
overflow-x: auto;
165+
overflow-y: hidden;
166+
}
160167
</style>

0 commit comments

Comments
 (0)