mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
improve friend sidebar settings ui
This commit is contained in:
@@ -94,9 +94,24 @@
|
||||
|
||||
<Separator />
|
||||
|
||||
<!-- Sort Section -->
|
||||
<span class="text-[11px] font-medium text-muted-foreground uppercase tracking-wide">
|
||||
{{ t('side_panel.settings.sort') }}
|
||||
<!-- Advanced Section (Collapsible) -->
|
||||
<Collapsible v-model:open="isAdvancedOpen">
|
||||
<CollapsibleTrigger as-child>
|
||||
<button
|
||||
type="button"
|
||||
class="flex w-full items-center justify-between py-0.5 text-[11px] font-medium text-muted-foreground uppercase tracking-wide cursor-pointer hover:text-foreground transition-colors">
|
||||
{{ t('side_panel.settings.advanced') }}
|
||||
<ChevronDown
|
||||
class="size-3.5 transition-transform duration-200"
|
||||
:class="{ 'rotate-180': isAdvancedOpen }" />
|
||||
</button>
|
||||
</CollapsibleTrigger>
|
||||
<CollapsibleContent>
|
||||
<div class="flex flex-col gap-2.5 pt-2.5">
|
||||
<!-- Sorting Sub-section -->
|
||||
<span
|
||||
class="text-[10px] font-medium text-muted-foreground/70 uppercase tracking-wide">
|
||||
{{ t('side_panel.settings.sorting') }}
|
||||
</span>
|
||||
<Field>
|
||||
<FieldContent>
|
||||
@@ -117,28 +132,6 @@
|
||||
</Select>
|
||||
</FieldContent>
|
||||
</Field>
|
||||
|
||||
<Separator />
|
||||
|
||||
<!-- Advanced Section (Collapsible) -->
|
||||
<Collapsible v-model:open="isAdvancedOpen">
|
||||
<CollapsibleTrigger as-child>
|
||||
<button
|
||||
type="button"
|
||||
class="flex w-full items-center justify-between py-0.5 text-[11px] font-medium text-muted-foreground uppercase tracking-wide cursor-pointer hover:text-foreground transition-colors">
|
||||
{{ t('side_panel.settings.advanced') }}
|
||||
<ChevronDown
|
||||
class="size-3.5 transition-transform duration-200"
|
||||
:class="{ 'rotate-180': isAdvancedOpen }" />
|
||||
</button>
|
||||
</CollapsibleTrigger>
|
||||
<CollapsibleContent>
|
||||
<div class="flex flex-col gap-2.5 pt-2.5">
|
||||
<!-- Sorting Sub-section -->
|
||||
<span
|
||||
class="text-[10px] font-medium text-muted-foreground/70 uppercase tracking-wide">
|
||||
{{ t('side_panel.settings.sorting') }}
|
||||
</span>
|
||||
<Field>
|
||||
<FieldLabel>{{ t('side_panel.settings.sort_secondary') }}</FieldLabel>
|
||||
<FieldContent>
|
||||
|
||||
Reference in New Issue
Block a user