This repository was archived by the owner on Jul 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed
assets/stylesheets/modules/ai-bot-conversations Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 77
88body .has-ai-conversations-sidebar {
99 .ai-new-question-button {
10- margin : 1 em 2 em 1 em 1 em ;
10+ margin : 1.8 em 1 rem 0 ;
1111 }
1212
1313 .sidebar-wrapper {
1414 .ai-conversations-panel {
15- padding-top : 0 ;
15+ padding-top : 1 em ;
1616 }
1717
1818 // ai related sidebar content
@@ -151,7 +151,9 @@ body.has-ai-conversations-sidebar {
151151 }
152152
153153 .ai-bot-conversations {
154- height : calc (100 dvh - var (--header-offset ) - 1.25em );
154+ display : flex ;
155+ flex-direction : column ;
156+ height : calc (100 dvh - var (--header-offset ) - 1.5em );
155157
156158 .persona-llm-selector {
157159 display : flex ;
@@ -195,15 +197,18 @@ body.has-ai-conversations-sidebar {
195197 box-sizing : border-box ;
196198 align-items : center ;
197199 justify-content : center ;
198- height : calc (90% - 1.25em - var (--header-offset ));
199-
200- @include viewport .until (sm) {
201- height : calc (75% - 1.25em - var (--header-offset ) - 2em );
202- }
200+ flex : 1 1 auto ;
203201
204202 .loading-container {
205203 display : contents ;
206204 }
205+
206+ // optical centering for layout balance
207+ @media screen and (height > 600px ) {
208+ h1 {
209+ margin-top : -6em ;
210+ }
211+ }
207212 }
208213
209214 & __input-wrapper {
You can’t perform that action at this time.
0 commit comments