style(ui): refine image param chip spacing and remove size suffix icons
This commit is contained in:
parent
8fc880fe9e
commit
11e81259bd
@ -68,8 +68,8 @@ const ASPECT_RATIO_OPTIONS = [
|
|||||||
// 图片大小选项(仅支持 nano-banana-pro)
|
// 图片大小选项(仅支持 nano-banana-pro)
|
||||||
const IMAGE_SIZE_OPTIONS = [
|
const IMAGE_SIZE_OPTIONS = [
|
||||||
{ value: "1K", label: "1K", disabled: false },
|
{ value: "1K", label: "1K", disabled: false },
|
||||||
{ value: "2K", label: "2K ⚡", disabled: false }, // 默认推荐
|
{ value: "2K", label: "2K", disabled: false },
|
||||||
{ value: "4K", label: "4K 🐌", disabled: false }, // 4K较慢
|
{ value: "4K", label: "4K", disabled: false },
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
export function ImageParamsBar({
|
export function ImageParamsBar({
|
||||||
@ -177,7 +177,7 @@ export function ImageParamsBar({
|
|||||||
// 内联模式:只返回参数按钮,嵌入工具栏
|
// 内联模式:只返回参数按钮,嵌入工具栏
|
||||||
if (inline) {
|
if (inline) {
|
||||||
return (
|
return (
|
||||||
<div className="flex items-center ml-1 border-l border-border/50 pl-1">
|
<div className="ml-1 flex items-center gap-1 border-l border-border/50 pl-1">
|
||||||
{/* 图片比例 */}
|
{/* 图片比例 */}
|
||||||
<DropdownMenu>
|
<DropdownMenu>
|
||||||
<DropdownMenuTrigger asChild>
|
<DropdownMenuTrigger asChild>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user