mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-11 14:43:49 -05:00
Fix refresh button sizing
This commit is contained in:
@@ -21,7 +21,7 @@ export default function RefreshButton() {
|
|||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<WithTooltip text="Reload">
|
<WithTooltip text="Reload">
|
||||||
<button className="group" onClick={refresh} disabled={disabled}>
|
<button className="group shrink-0" onClick={refresh} disabled={disabled}>
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
width="24"
|
width="24"
|
||||||
@@ -32,7 +32,7 @@ export default function RefreshButton() {
|
|||||||
strokeWidth="2"
|
strokeWidth="2"
|
||||||
strokeLinecap="round"
|
strokeLinecap="round"
|
||||||
strokeLinejoin="round"
|
strokeLinejoin="round"
|
||||||
className="shrink-0 group-disabled:animate-spin"
|
className="size-6 group-disabled:animate-spin"
|
||||||
>
|
>
|
||||||
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
||||||
<path d="M4,11A8.1,8.1 0 0 1 19.5,9M20,5v4h-4" />
|
<path d="M4,11A8.1,8.1 0 0 1 19.5,9M20,5v4h-4" />
|
||||||
|
|||||||
Reference in New Issue
Block a user