mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-07 03:06:40 +00:00
fix spacing issue in strategy select
This commit is contained in:
@@ -5,7 +5,7 @@ import { RadioGroup, RadioGroupItem } from "./ui/radio-group";
|
|||||||
import { useState, ReactNode } from "react";
|
import { useState, ReactNode } from "react";
|
||||||
|
|
||||||
export interface StrategyOption<TValue extends string> {
|
export interface StrategyOption<TValue extends string> {
|
||||||
id: TValue;
|
id: TValue;
|
||||||
title: string;
|
title: string;
|
||||||
description: string;
|
description: string;
|
||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
@@ -59,9 +59,9 @@ export function StrategySelect<TValue extends string>({
|
|||||||
disabled={option.disabled}
|
disabled={option.disabled}
|
||||||
className="absolute left-4 top-5 h-4 w-4 border-primary text-primary"
|
className="absolute left-4 top-5 h-4 w-4 border-primary text-primary"
|
||||||
/>
|
/>
|
||||||
<div className="flex items-center gap-3 pl-7">
|
<div className="flex gap-3 pl-7">
|
||||||
{option.icon && (
|
{option.icon && (
|
||||||
<div className="flex-shrink-0 flex items-center justify-center">
|
<div className="mt-1">
|
||||||
{option.icon}
|
{option.icon}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user