mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix icon button hover
This commit is contained in:
parent
73578736bc
commit
eee51216b9
@ -90,7 +90,7 @@ export const IconButton = forwardRef(function _IconButton<AsProps = PressablePro
|
||||
borderRadius: 9999,
|
||||
fover: {
|
||||
self: {
|
||||
bg: (theme: Theme) => alpha(theme.contrast, 0.5),
|
||||
bg: (theme: Theme) => theme.overlay0,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -88,14 +88,14 @@ export const BrowseSettings = ({
|
||||
onPress={() => setLayout(Layout.Grid)}
|
||||
color={layout == Layout.Grid ? theme.accent : undefined}
|
||||
{...tooltip(t("browse.switchToGrid"))}
|
||||
{...css({ paddingX: ts(0.5) })}
|
||||
{...css({ padding: ts(0.5), marginY: "auto" })}
|
||||
/>
|
||||
<IconButton
|
||||
icon={ViewList}
|
||||
onPress={() => setLayout(Layout.List)}
|
||||
color={layout == Layout.List ? theme.accent : undefined}
|
||||
{...tooltip(t("browse.switchToList"))}
|
||||
{...css({ paddingX: ts(0.5) })}
|
||||
{...css({ padding: ts(0.5), marginY: "auto" })}
|
||||
/>
|
||||
</View>
|
||||
</View>
|
||||
|
Loading…
x
Reference in New Issue
Block a user