mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-02 22:15:23 -04:00
Refine button styling by adding w-fit for better width handling
This commit is contained in:
@@ -31,8 +31,8 @@ export default function ThemeIcon(props: {className?: string}) {
|
||||
</>
|
||||
)
|
||||
return (
|
||||
<button onClick={toggleTheme}>
|
||||
<Row className="items-center gap-1 border-2 border-gray-500 rounded-full p-1 max-w-fit mx-2 px-3 hover:bg-canvas-100">
|
||||
<button onClick={toggleTheme} className={'w-fit'}>
|
||||
<Row className="items-center gap-1 border-2 border-gray-500 rounded-full p-1 w-fit mx-2 px-3 hover:bg-canvas-100">
|
||||
{icon}
|
||||
{children}
|
||||
</Row>
|
||||
|
||||
Reference in New Issue
Block a user