mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Improve ModelSelector styles on small screens
This commit is contained in:
1 parent
c16d9a0d30
commit
674ea1984e
2 files changed
+4
-4
No files matched your search
@@ -351,7 +351,7 @@ export const ChatPane = forwardRef<ChatPaneRef, ChatPaneProps>(({
|
||||
rows={1}
|
||||
style={{
|
||||
height: 'auto',
|
||||
minHeight: '52px'
|
||||
minHeight: '96px'
|
||||
}}
|
||||
onInput={(e) => {
|
||||
const target = e.target as HTMLTextAreaElement;
|
||||
@@ -363,7 +363,7 @@ export const ChatPane = forwardRef<ChatPaneRef, ChatPaneProps>(({
|
||||
{/* Bottom Controls Row */}
|
||||
<div className="absolute bottom-2 left-2 right-2 flex items-center gap-2">
|
||||
{/* Model Selector */}
|
||||
<div className="flex-1 max-w-72 ml-auto">
|
||||
<div className="flex-1 max-w-72 ml-auto overflow-hidden">
|
||||
<ModelSelector
|
||||
value={providerModel}
|
||||
onChange={setProviderModel}
|
||||
|
||||
+2
-2
@@ -174,9 +174,9 @@ export default function Index() {
|
||||
/>
|
||||
|
||||
{/* Bottom Controls Row */}
|
||||
<div className="absolute bottom-3 left-3 right-3 flex items-center justify-end gap-2">
|
||||
<div className="absolute bottom-3 left-3 right-3 flex items-center justify-end gap-2 overflow-hidden">
|
||||
{/* Model Selector - always show to allow configuration */}
|
||||
<div className="w-64">
|
||||
<div className="overflow-hidden">
|
||||
<ModelSelector
|
||||
value={providerModel}
|
||||
onChange={setProviderModel}
|
||||
|
||||
Reference in new issue
Block a user