fix icon thinggy (#1107)

* fix icon thinggy

* Apply suggestion from @greptile-apps[bot]

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

---------

Co-authored-by: thororen <78185467+thororen1234@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
prism 2026-05-22 18:42:51 +02:00 • committed by GitHub
parent 2deda34dc4
commit d529042a46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,7 +102,7 @@ export function HeaderBarButton(props: HeaderBarButtonProps & { ref?: React.RefO
<Clickable
{...{ innerRef: ref } as any}
className={classes(HeaderBarClasses.clickable, className)}
style={{ width: iconSize, boxSizing: "content-box", justifyContent: "center" }}
style={{ width: Math.max(iconSize, 24), height: Math.max(iconSize, 24), boxSizing: "content-box", justifyContent: "center" }}
onClick={onClick}
onContextMenu={onContextMenu}
onMouseEnter={onMouseEnter}