diff --git a/libs/environment/src/components/node-switcher/layout-cell.tsx b/libs/environment/src/components/node-switcher/layout-cell.tsx index da6377561..f54baf134 100644 --- a/libs/environment/src/components/node-switcher/layout-cell.tsx +++ b/libs/environment/src/components/node-switcher/layout-cell.tsx @@ -19,16 +19,27 @@ export const LayoutCell = ({ }: LayoutCellProps) => { const t = useT(); const classes = [ - 'lg:text-right flex justify-between lg:block', + 'lg:text-right flex lg:block justify-stretch gap-2', 'my-2 lg:my-0', ]; return (
- {label && {label}} + {label && ( + <> + + {label} + + + + )} void }) => { {t('Block')} {t('Subscription')} -
- {nodes.map((node, index) => { - return ( - - - - - - ); - })} - -
+
+
+ {nodes.map((node, index) => { + return ( + + + + + + ); + })} +
diff --git a/libs/ui-toolkit/src/components/dialog/dialog.tsx b/libs/ui-toolkit/src/components/dialog/dialog.tsx index 876b1c944..cde1b93f3 100644 --- a/libs/ui-toolkit/src/components/dialog/dialog.tsx +++ b/libs/ui-toolkit/src/components/dialog/dialog.tsx @@ -37,8 +37,6 @@ export function Dialog({ 'w-full h-full' ); const wrapperClasses = classNames( - // Positions the modal in the center of screen - 'z-20 relative rounded top-[10vh]', // Dimensions 'max-w-[90vw] p-4 md:p-8', // Need to apply background and text colors again as content is rendered in a portal @@ -72,27 +70,34 @@ export function Dialog({ onInteractOutside={onInteractOutside} data-testid={dataTestId} > -
- {onChange && ( - - - +
- {icon &&
{icon}
} -
- {title && ( -

- {title} -

- )} -
{children}
+ > +
+ {onChange && ( + + + + )} +
+ {icon &&
{icon}
} +
+ {title && ( +

+ {title} +

+ )} +
{children}
+
diff --git a/libs/ui-toolkit/src/components/trading-radio-group/radio-group.tsx b/libs/ui-toolkit/src/components/trading-radio-group/radio-group.tsx index 7c0a3c99f..824626cbc 100644 --- a/libs/ui-toolkit/src/components/trading-radio-group/radio-group.tsx +++ b/libs/ui-toolkit/src/components/trading-radio-group/radio-group.tsx @@ -57,12 +57,20 @@ interface RadioProps { value: string; label: string; disabled?: boolean; + className?: string; } -export const TradingRadio = ({ id, value, label, disabled }: RadioProps) => { +export const TradingRadio = ({ + id, + value, + label, + disabled, + className, +}: RadioProps) => { const wrapperClasses = classNames( 'flex items-center gap-1.5 text-xs', - labelClasses + labelClasses, + className ); const itemClasses = classNames( 'flex justify-center items-center',