fix layout overflow issues on bigger screens

This commit is contained in:
Johnpaul
2025-08-28 01:00:00 +01:00
parent f6dc62ab8f
commit 5d88200aae
12 changed files with 141 additions and 64 deletions

View File

@@ -8,7 +8,12 @@ export interface TemplateFilterOptions {
selectedModels?: string[]
selectedUseCases?: string[] // Now represents selected tags
selectedLicenses?: string[]
sortBy?: 'default' | 'alphabetical' | 'newest' | 'vram-low-to-high' | 'model-size-low-to-high'
sortBy?:
| 'default'
| 'alphabetical'
| 'newest'
| 'vram-low-to-high'
| 'model-size-low-to-high'
}
export function useTemplateFiltering(
@@ -18,7 +23,13 @@ export function useTemplateFiltering(
const selectedModels = ref<string[]>([])
const selectedUseCases = ref<string[]>([])
const selectedLicenses = ref<string[]>([])
const sortBy = ref<'default' | 'alphabetical' | 'newest' | 'vram-low-to-high' | 'model-size-low-to-high'>('default')
const sortBy = ref<
| 'default'
| 'alphabetical'
| 'newest'
| 'vram-low-to-high'
| 'model-size-low-to-high'
>('default')
const templatesArray = computed(() => {
const templateData = 'value' in templates ? templates.value : templates

View File

@@ -2,7 +2,7 @@ import WorkflowTemplateSelector from '@/components/custom/widget/WorkflowTemplat
import { useDialogService } from '@/services/dialogService'
import { useDialogStore } from '@/stores/dialogStore'
const DIALOG_KEY = 'global-workflow-template-selector';
const DIALOG_KEY = 'global-workflow-template-selector'
export const useWorkflowTemplateSelectorDialog = () => {
const dialogService = useDialogService()