diff --git a/ui/src/components/OperationPanel.jsx b/ui/src/components/OperationPanel.jsx index a38c837..4e158ee 100644 --- a/ui/src/components/OperationPanel.jsx +++ b/ui/src/components/OperationPanel.jsx @@ -78,10 +78,10 @@ function TextButton({ onClick, children, title, danger }) { function Button({ onClick, active, children, title, disabled }) { return ( ) @@ -119,9 +119,9 @@ function Field({ label, children, hint, stack }) { // Same 10px uppercase as the ledger table headers, so the groupings read as part // of the same family rather than as a second style. -function SectionLabel({ children }) { +function SectionLabel({ children, className = '' }) { return ( -
+
{children}
) @@ -132,8 +132,8 @@ function SectionLabel({ children }) { // says the choice has been made elsewhere. function Segmented({ options, value, onChange, disabled }) { return ( -
+
{options.map(([val, label, title]) => ( @@ -145,7 +145,7 @@ function Segmented({ options, value, onChange, disabled }) { function Submit({ onClick, children, disabled, busy }) { return (