Skip to content

Commit e5f1383

Browse files
committed
make chatbot fill viewport precisely and add min height
1 parent 15c2bfd commit e5f1383

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/chat.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ className: "no-title-page"
99
src="https://rag-chatbot.docs-chatbot.chrisyhjiang.defang.app/"
1010
style={{
1111
width: "100%", // Assuming the sidebar width is 250px
12-
height: "100vh",
12+
height: "calc(100vh - 60px)", // Assuming the header height is 60px
13+
minHeight: "600px",
1314
border: "none",
1415
marginLeft: "0px",
1516
marginRight: "0px",

0 commit comments

Comments
 (0)