Commit 95b0a0da authored by Lyza Danger Gardner's avatar Lyza Danger Gardner

Add icon class so it can be styled separately from label text

parent 7d4c73a6
......@@ -17,7 +17,9 @@ function ToolbarButton({ badgeCount, icon, label, onClick, shortcut }) {
aria-label={title}
title={title}
>
{icon && <SvgIcon name={icon} />}
{icon && (
<SvgIcon name={icon} className="annotator-adder-actions__icon" />
)}
{typeof badgeCount === 'number' && (
<span className="annotator-adder-actions__badge">{badgeCount}</span>
)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment