1
0
Fork 0

Mobile menu

This commit is contained in:
Pabloader 2026-04-08 10:51:38 +00:00
parent 7eb8e5b870
commit e28835846b
2 changed files with 35 additions and 1 deletions

View File

@ -251,3 +251,37 @@
.emptyText {
color: var(--text-muted);
}
@media (max-width: 600px) {
.body {
flex-direction: column;
}
.sidebar {
flex-direction: row;
width: 100%;
overflow-x: auto;
border-right: none;
border-bottom: 1px solid var(--border);
padding: 4px 8px;
flex-shrink: 0;
scrollbar-width: none;
}
.sidebar::-webkit-scrollbar {
display: none;
}
.menuItem {
flex: 1;
justify-content: center;
text-align: center;
white-space: nowrap;
padding: 8px;
font-size: 13px;
}
.footer {
padding: 12px 16px;
}
}

View File

@ -155,7 +155,7 @@ export const ConnectionSettings = () => {
value={selectedModel}
onChange={handleModelChange}
class={clsx(styles.select, styles.selectMultiline)}
size={8}
size={3}
>
{filteredGroupedModels.map(({ context, models }) => (
<optgroup key={context} label={`${context} context`}>