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));
|
padding: var(--padding) calc(2 * var(--padding));
|
||||||
font-size: var(--content-size);
|
font-size: var(--content-size);
|
||||||
|
line-height: 1;
|
||||||
|
|
||||||
&[data-even-padding="true"] {
|
&[data-even-padding="true"] {
|
||||||
padding: var(--padding);
|
padding: var(--padding);
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ import { Button } from "../Button";
|
|||||||
import { ClassIcon } from "../ClassIcon";
|
import { ClassIcon } from "../ClassIcon";
|
||||||
import { DropdownMenu } from "../DropdownMenu";
|
import { DropdownMenu } from "../DropdownMenu";
|
||||||
import { GunTypeIcon } from "../GunTypeIcon";
|
import { GunTypeIcon } from "../GunTypeIcon";
|
||||||
|
import { IconButton } from "../IconButton";
|
||||||
import { LazyImage } from "../LazyImage";
|
import { LazyImage } from "../LazyImage";
|
||||||
import { MissingShellIcon } from "../MissingShellIcon";
|
import { MissingShellIcon } from "../MissingShellIcon";
|
||||||
import { ResearchedIcon } from "../ResearchedIcon";
|
import { ResearchedIcon } from "../ResearchedIcon";
|
||||||
@@ -183,8 +184,7 @@ function Content() {
|
|||||||
|
|
||||||
function ResetButton() {
|
function ResetButton() {
|
||||||
return (
|
return (
|
||||||
<Button
|
<IconButton
|
||||||
evenPadding
|
|
||||||
color="red"
|
color="red"
|
||||||
variant="solid"
|
variant="solid"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -192,7 +192,7 @@ function ResetButton() {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ResetIcon />
|
<ResetIcon />
|
||||||
</Button>
|
</IconButton>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user