Fix live avi overflow breakage
This commit is contained in:
@@ -557,7 +557,6 @@ export const Button = React.forwardRef<View, ButtonProps>(
|
|||||||
a.align_center,
|
a.align_center,
|
||||||
a.justify_center,
|
a.justify_center,
|
||||||
a.curve_continuous,
|
a.curve_continuous,
|
||||||
a.overflow_hidden,
|
|
||||||
baseStyles,
|
baseStyles,
|
||||||
style,
|
style,
|
||||||
...(state.hovered || state.pressed
|
...(state.hovered || state.pressed
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import {LinearGradient} from 'expo-linear-gradient'
|
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()
|
const t = useTheme()
|
||||||
return (
|
return (
|
||||||
<LinearGradient
|
<LinearGradient
|
||||||
@@ -13,7 +13,7 @@ export function Gradient() {
|
|||||||
locations={[0, 1]}
|
locations={[0, 1]}
|
||||||
start={{x: 0, y: 0}}
|
start={{x: 0, y: 0}}
|
||||||
end={{x: 1, y: 0}}
|
end={{x: 1, y: 0}}
|
||||||
style={[a.absolute, a.inset_0]}
|
style={[a.absolute, a.inset_0, style]}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -251,7 +251,7 @@ let ProfileMenu = ({
|
|||||||
color="secondary"
|
color="secondary"
|
||||||
size="small"
|
size="small"
|
||||||
shape="round">
|
shape="round">
|
||||||
{statusNudgeActive && <Gradient />}
|
{statusNudgeActive && <Gradient style={[a.rounded_full]} />}
|
||||||
<ButtonIcon icon={Ellipsis} size="sm" />
|
<ButtonIcon icon={Ellipsis} size="sm" />
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user