File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 176176 </div >
177177 </div >
178178
179- <div class =" setting-card setting-card--compact" >
180- <div class =" setting-card-head" >
181- <div >
182- <div class =" setting-title" >{{ tm('form.silentHandoffLabel') }}</div >
183- <div class =" setting-subtitle" >{{ tm('form.silentHandoffHint') }}</div >
184- </div >
185- <v-switch
186- :model-value =" agent.default_handoff_mode === 'silent'"
187- color =" primary"
188- hide-details
189- inset
190- density =" comfortable"
191- @update:model-value =" agent.default_handoff_mode = $event ? 'silent' : 'normal'"
192- />
179+ <div class =" setting-card setting-card--compact silent-handoff-card" >
180+ <div class =" silent-handoff-title" >
181+ {{ tm('form.silentHandoffLabel') }}
182+ </div >
183+ <v-switch
184+ class =" silent-handoff-switch"
185+ :model-value =" agent.default_handoff_mode === 'silent'"
186+ color =" primary"
187+ hide-details
188+ inset
189+ density =" comfortable"
190+ @update:model-value =" agent.default_handoff_mode = $event ? 'silent' : 'normal'"
191+ />
192+ <div class =" setting-subtitle silent-handoff-hint" >
193+ {{ tm('form.silentHandoffHint') }}
193194 </div >
194195 </div >
195196
@@ -503,7 +504,33 @@ onBeforeRouteLeave(async () => {
503504}
504505
505506.setting-card--compact {
506- padding : 14px ;
507+ padding : 16px ;
508+ }
509+
510+ .silent-handoff-card {
511+ display : grid ;
512+ grid-template-columns : minmax (0 , 1fr ) auto ;
513+ align-items : center ;
514+ gap : 8px 16px ;
515+ }
516+
517+ .silent-handoff-title {
518+ min-width : 0 ;
519+ color : var (--dashboard-text );
520+ font-size : 15px ;
521+ font-weight : 700 ;
522+ line-height : 1.45 ;
523+ }
524+
525+ .silent-handoff-switch {
526+ justify-self : end ;
527+ align-self : center ;
528+ }
529+
530+ .silent-handoff-hint {
531+ grid-column : 1 / -1 ;
532+ max-width : 680px ;
533+ margin-top : 0 ;
507534}
508535
509536.setting-card-head {
You can’t perform that action at this time.
0 commit comments