Skip to content

Commit a12134c

Browse files
committed
fix: replace hardcoded width 97% with 100% on messages footer (CopilotKit#2325)
The .copilotKitMessagesFooter used width:97% which caused horizontal overflow in constrained containers. Changed to width:100% with box-sizing:border-box so padding is included in the width calculation.
1 parent ed8a8a0 commit a12134c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/react-ui/src/css/messages.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
margin: 8px auto 0 auto;
2222
justify-content: flex-start;
2323
flex-direction: column;
24-
width: 97%;
24+
width: 100%;
25+
box-sizing: border-box;
2526
}
2627

2728
.copilotKitMessages::-webkit-scrollbar {

0 commit comments

Comments
 (0)