Fix live avi overflow breakage

This commit is contained in:
Eric Bailey
2026-01-14 15:51:42 -06:00
parent a596a31e7b
commit 3c6d20f02f
3 changed files with 4 additions and 5 deletions
-1
View File
@@ -557,7 +557,6 @@ export const Button = React.forwardRef<View, ButtonProps>(
a.align_center,
a.justify_center,
a.curve_continuous,
a.overflow_hidden,
baseStyles,
style,
...(state.hovered || state.pressed
+3 -3
View File
@@ -1,8 +1,8 @@
import {LinearGradient} from 'expo-linear-gradient'
import {atoms as a, useTheme, utils} from '#/alf'
import {atoms as a, useTheme, utils, type ViewStyleProp} from '#/alf'
export function Gradient() {
export function Gradient({style}: ViewStyleProp) {
const t = useTheme()
return (
<LinearGradient
@@ -13,7 +13,7 @@ export function Gradient() {
locations={[0, 1]}
start={{x: 0, y: 0}}
end={{x: 1, y: 0}}
style={[a.absolute, a.inset_0]}
style={[a.absolute, a.inset_0, style]}
/>
)
}
+1 -1
View File
@@ -251,7 +251,7 @@ let ProfileMenu = ({
color="secondary"
size="small"
shape="round">
{statusNudgeActive && <Gradient />}
{statusNudgeActive && <Gradient style={[a.rounded_full]} />}
<ButtonIcon icon={Ellipsis} size="sm" />
</Button>