mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Fixes button-group label visibility (#5299)
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
This commit is contained in:
parent
9ccdf05cca
commit
aa88186cdc
1 changed files with 8 additions and 1 deletions
|
|
@ -69,7 +69,14 @@ export const ButtonGroup = function Button({
|
|||
};
|
||||
return (
|
||||
<div className="widget-buttongroup" style={{ height }} data-cy={dataCy}>
|
||||
{label && <p className={`widget-buttongroup-label ${darkMode && 'text-light'}`}>{label}</p>}
|
||||
{label && (
|
||||
<p
|
||||
style={{ display: computedStyles.display }}
|
||||
className={`widget-buttongroup-label ${darkMode && 'text-light'}`}
|
||||
>
|
||||
{label}
|
||||
</p>
|
||||
)}
|
||||
<div>
|
||||
{data?.map((item, index) => (
|
||||
<button
|
||||
|
|
|
|||
Loading…
Reference in a new issue