mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-04 23:32:54 +01:00
perfeclty round buttons
This commit is contained in:
2 files changed
+4
-3
No files matched your search
@@ -29,6 +29,7 @@
|
||||
|
||||
padding: var(--padding) calc(2 * var(--padding));
|
||||
font-size: var(--content-size);
|
||||
line-height: 1;
|
||||
|
||||
&[data-even-padding="true"] {
|
||||
padding: var(--padding);
|
||||
|
||||
@@ -23,6 +23,7 @@ import { Button } from "../Button";
|
||||
import { ClassIcon } from "../ClassIcon";
|
||||
import { DropdownMenu } from "../DropdownMenu";
|
||||
import { GunTypeIcon } from "../GunTypeIcon";
|
||||
import { IconButton } from "../IconButton";
|
||||
import { LazyImage } from "../LazyImage";
|
||||
import { MissingShellIcon } from "../MissingShellIcon";
|
||||
import { ResearchedIcon } from "../ResearchedIcon";
|
||||
@@ -183,8 +184,7 @@ function Content() {
|
||||
|
||||
function ResetButton() {
|
||||
return (
|
||||
<Button
|
||||
evenPadding
|
||||
<IconButton
|
||||
color="red"
|
||||
variant="solid"
|
||||
onClick={() => {
|
||||
@@ -192,7 +192,7 @@ function ResetButton() {
|
||||
}}
|
||||
>
|
||||
<ResetIcon />
|
||||
</Button>
|
||||
</IconButton>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user