Skip to content

Commit

Permalink
fix(mode-selector): Fix label padding for submode labels without an i…
Browse files Browse the repository at this point in the history
…con.
  • Loading branch information
binh-dam-ibigroup committed Oct 3, 2023
1 parent 4257d28 commit ceaf072
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const ModeSettingRenderer = ({
const labelWithIcon =
"icon" in setting ? (
<FormLabelIconWrapper>
<div role="none">{setting.icon}</div>
{setting.icon && <div role="none">{setting.icon}</div>}
<div>{label}</div>
</FormLabelIconWrapper>
) : (
Expand Down

0 comments on commit ceaf072

Please sign in to comment.