The Open Standard for Generative UI
style(react-ui): adjust max-width and padding for conversation starter component (#810)
Subham Dasc44e8ae95208
diff --git a/packages/react-ui/src/components/AgentInterface/conversationStarter.scss b/packages/react-ui/src/components/AgentInterface/conversationStarter.scssindex 5a711aff7..3f4765d44 100644--- a/packages/react-ui/src/components/AgentInterface/conversationStarter.scss+++ b/packages/react-ui/src/components/AgentInterface/conversationStarter.scss@@ -3,9 +3,12 @@// Container styles.openui-agent-conversation-starter {width: 100%;- max-width: 880px;+ // Starters sit above the composer input, so track the composer's 768px+ // column (see components/composer.scss), not the 880px thread column —+ // otherwise the row starts left of the input once both hit max-width.+ max-width: calc(768px + cssUtils.$space-m-l * 2);margin: 0 auto;- padding: 0 0 cssUtils.$space-m;+ padding: 0 cssUtils.$space-m-l cssUtils.$space-m;box-sizing: border-box;max-height: 480px;overflow: hidden;@@ -16,7 +19,6 @@transform 0.2s ease,max-height 0.2s ease,padding-bottom 0.2s ease;-// Short variant - horizontal pill buttons&--short {display: block;