File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ function describeUnavailableInstance(entry: ProviderInstanceEntry): string {
2525 return msg ? `${ label } : ${ kind } . ${ msg } ` : `${ label } : ${ kind } .` ;
2626}
2727
28- const SELECTED_INDICATOR_CLASS =
29- "pointer-events-none absolute right-1 top-1/2 z-10 h-5 w-0.75 -translate-y-1/2 rounded-full bg-primary" ;
3028const BADGE_BASE_CLASS =
3129 "pointer-events-none absolute -right-0.5 top-0.5 z-10 flex size-3.5 items-center justify-center rounded-full bg-transparent shadow-sm " ;
3230const NEW_BADGE_CLASS = `${ BADGE_BASE_CLASS } text-update-foreground ` ;
@@ -92,10 +90,7 @@ export const ModelPickerSidebar = memo(function ModelPickerSidebar(props: {
9290 { selectedIndicatorTop !== null ? (
9391 < div
9492 data-model-picker-selected-indicator = "true"
95- className = { cn (
96- SELECTED_INDICATOR_CLASS ,
97- "right-0 translate-y-0 transition-[top] duration-200 ease-out" ,
98- ) }
93+ className = "pointer-events-none absolute right-1 z-10 h-5 w-0.75 rounded-full bg-primary transition-[top] duration-200 ease-out"
9994 style = { { top : selectedIndicatorTop } }
10095 />
10196 ) : null }
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export function PromptFontPreview() {
4343 skills = { PREVIEW_SKILLS }
4444 disabled = { false }
4545 placeholder = { DEFAULT_COMPOSER_PLACEHOLDER }
46- className = "max-h-42 min-h-14 "
46+ className = "max-h-42"
4747 onChange = { onChange }
4848 onPaste = { noop }
4949 />
You can’t perform that action at this time.
0 commit comments