fix: add w-full to SelectTrigger components for consistent width
Docker Build / Build and Push Docker Image (push) Successful in 3m59s

This commit is contained in:
2026-06-23 04:38:09 +08:00
parent 073b7420b3
commit bc505e6cec
@@ -160,10 +160,10 @@ export function ImageSettings({ config, onConfigChange }: ImageSettingsProps) {
value={config.size}
onValueChange={handleSizeChange}
>
<SelectTrigger className='h-8'>
<SelectTrigger className='h-8 w-full'>
<SelectValue />
</SelectTrigger>
<SelectContent alignItemWithTrigger={false}>
<SelectContent>
{filteredOptions.map((option) => (
<SelectItem key={option.value} value={option.value}>
{option.label}
@@ -182,12 +182,12 @@ export function ImageSettings({ config, onConfigChange }: ImageSettingsProps) {
value={config.quality}
onValueChange={(value) => onConfigChange('quality', value)}
>
<SelectTrigger className='h-8'>
<SelectTrigger className='h-8 w-full'>
<SelectValue>
{getTranslatedLabel(QUALITY_OPTIONS, config.quality, t)}
</SelectValue>
</SelectTrigger>
<SelectContent alignItemWithTrigger={false}>
<SelectContent>
{QUALITY_OPTIONS.map((option) => (
<SelectItem key={option.value} value={option.value}>
{t(option.label)}
@@ -205,12 +205,12 @@ export function ImageSettings({ config, onConfigChange }: ImageSettingsProps) {
value={config.style}
onValueChange={(value) => onConfigChange('style', value)}
>
<SelectTrigger className='h-8'>
<SelectTrigger className='h-8 w-full'>
<SelectValue>
{getTranslatedLabel(STYLE_OPTIONS, config.style, t)}
</SelectValue>
</SelectTrigger>
<SelectContent alignItemWithTrigger={false}>
<SelectContent>
{STYLE_OPTIONS.map((option) => (
<SelectItem key={option.value} value={option.value}>
{t(option.label)}