mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-22 23:10:35 -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,
|
borderRadius: 9999,
|
||||||
fover: {
|
fover: {
|
||||||
self: {
|
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)}
|
onPress={() => setLayout(Layout.Grid)}
|
||||||
color={layout == Layout.Grid ? theme.accent : undefined}
|
color={layout == Layout.Grid ? theme.accent : undefined}
|
||||||
{...tooltip(t("browse.switchToGrid"))}
|
{...tooltip(t("browse.switchToGrid"))}
|
||||||
{...css({ paddingX: ts(0.5) })}
|
{...css({ padding: ts(0.5), marginY: "auto" })}
|
||||||
/>
|
/>
|
||||||
<IconButton
|
<IconButton
|
||||||
icon={ViewList}
|
icon={ViewList}
|
||||||
onPress={() => setLayout(Layout.List)}
|
onPress={() => setLayout(Layout.List)}
|
||||||
color={layout == Layout.List ? theme.accent : undefined}
|
color={layout == Layout.List ? theme.accent : undefined}
|
||||||
{...tooltip(t("browse.switchToList"))}
|
{...tooltip(t("browse.switchToList"))}
|
||||||
{...css({ paddingX: ts(0.5) })}
|
{...css({ padding: ts(0.5), marginY: "auto" })}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user