diff --git a/extension/data/components/Window.module.css b/extension/data/components/Window.module.css index 74e77a63..2f7502a6 100644 --- a/extension/data/components/Window.module.css +++ b/extension/data/components/Window.module.css @@ -82,8 +82,3 @@ .footer :not(input):empty { display: none; } - -/* Adjust controls to work nicely together in footers */ -.footer .tb-input { - border-color: #72869A; -} diff --git a/extension/data/components/controls/ActionButton.tsx b/extension/data/components/controls/ActionButton.tsx index 78723437..2490a27c 100644 --- a/extension/data/components/controls/ActionButton.tsx +++ b/extension/data/components/controls/ActionButton.tsx @@ -1,16 +1,24 @@ -import {type ComponentPropsWithoutRef} from 'react'; +import {type ComponentPropsWithoutRef, forwardRef} from 'react'; import {classes} from '../../util/ui_interop'; import css from './ActionButton.module.css'; -export const ActionButton = ({ +export const ActionButton = forwardRef< + HTMLButtonElement, + ComponentPropsWithoutRef<'button'> & { + inline?: boolean; + } +>(({ inline, className, ...props -}: ComponentPropsWithoutRef<'button'> & { - inline?: boolean; -}) => ( +}, ref) => (