Skip to content

Commit ebabd0c

Browse files
committed
feat: update max-height
1 parent 3805d05 commit ebabd0c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/site-components/src/styles/docs.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,7 @@ div[name="DESIGN"] {
280280
.tdesign-toc_container {
281281
width: 240px;
282282
padding-right: 10px;
283-
max-height: 480px;
284-
max-height: ~"min(calc(100vh - 170px), 480px)";
283+
max-height: "calc(100vh - 172px)";
285284
overflow: hidden auto;
286285
position: absolute;
287286
right: 24px;

0 commit comments

Comments
 (0)