Skip to content

Commit 5ec2fb0

Browse files
committed
fix: ink-main/ink-layout 溢出限制防止代码块撑宽
1 parent d2fc3aa commit 5ec2fb0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

themes/default/assets/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ a:hover { text-decoration: underline; }
113113
display: flex;
114114
margin-top: var(--ink-nav-h);
115115
min-height: calc(100vh - var(--ink-nav-h));
116+
overflow-x: hidden;
116117
}
117118

118119
/* ── Sidebar ─────────────────────────────────── */
@@ -169,6 +170,8 @@ a:hover { text-decoration: underline; }
169170
.ink-main {
170171
margin-left: var(--ink-sidebar-w);
171172
flex: 1;
173+
min-width: 0;
174+
overflow-x: hidden;
172175
display: flex;
173176
justify-content: center;
174177
padding: 32px 24px 64px;

0 commit comments

Comments
 (0)