mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
fix: surface
This commit is contained in:
1 parent
87438abaa3
commit
bdaf6e662c
1 file changed
+12
-9
@@ -615,15 +615,14 @@ function OwnershipFilterInternal(props: FlexProps) {
|
|||||||
const showUnowned = TankFilters.use((state) => state.showUnowned);
|
const showUnowned = TankFilters.use((state) => state.showUnowned);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Flex
|
<Flex {...props}>
|
||||||
overflow="hidden"
|
|
||||||
style={{ borderRadius: "var(--radius-full)" }}
|
|
||||||
{...props}
|
|
||||||
>
|
|
||||||
<IconButton
|
<IconButton
|
||||||
|
style={{
|
||||||
|
borderTopRightRadius: 0,
|
||||||
|
borderBottomRightRadius: 0,
|
||||||
|
}}
|
||||||
disabled={!wargaming}
|
disabled={!wargaming}
|
||||||
variant={showOwned ? "solid" : "soft"}
|
variant={showOwned ? "solid" : "surface"}
|
||||||
radius="none"
|
|
||||||
color={showOwned ? undefined : "gray"}
|
color={showOwned ? undefined : "gray"}
|
||||||
highContrast
|
highContrast
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -636,9 +635,13 @@ function OwnershipFilterInternal(props: FlexProps) {
|
|||||||
</IconButton>
|
</IconButton>
|
||||||
|
|
||||||
<IconButton
|
<IconButton
|
||||||
|
style={{
|
||||||
|
borderTopLeftRadius: 0,
|
||||||
|
borderBottomLeftRadius: 0,
|
||||||
|
marginLeft: "-1px",
|
||||||
|
}}
|
||||||
disabled={!wargaming}
|
disabled={!wargaming}
|
||||||
variant={showUnowned ? "solid" : "soft"}
|
variant={showUnowned ? "solid" : "surface"}
|
||||||
radius="none"
|
|
||||||
color={showUnowned ? undefined : "gray"}
|
color={showUnowned ? undefined : "gray"}
|
||||||
highContrast
|
highContrast
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|||||||
Reference in new issue
Block a user