mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +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);
|
||||
|
||||
return (
|
||||
<Flex
|
||||
overflow="hidden"
|
||||
style={{ borderRadius: "var(--radius-full)" }}
|
||||
{...props}
|
||||
>
|
||||
<Flex {...props}>
|
||||
<IconButton
|
||||
style={{
|
||||
borderTopRightRadius: 0,
|
||||
borderBottomRightRadius: 0,
|
||||
}}
|
||||
disabled={!wargaming}
|
||||
variant={showOwned ? "solid" : "soft"}
|
||||
radius="none"
|
||||
variant={showOwned ? "solid" : "surface"}
|
||||
color={showOwned ? undefined : "gray"}
|
||||
highContrast
|
||||
onClick={() => {
|
||||
@@ -636,9 +635,13 @@ function OwnershipFilterInternal(props: FlexProps) {
|
||||
</IconButton>
|
||||
|
||||
<IconButton
|
||||
style={{
|
||||
borderTopLeftRadius: 0,
|
||||
borderBottomLeftRadius: 0,
|
||||
marginLeft: "-1px",
|
||||
}}
|
||||
disabled={!wargaming}
|
||||
variant={showUnowned ? "solid" : "soft"}
|
||||
radius="none"
|
||||
variant={showUnowned ? "solid" : "surface"}
|
||||
color={showUnowned ? undefined : "gray"}
|
||||
highContrast
|
||||
onClick={() => {
|
||||
|
||||
Reference in new issue
Block a user