update
This commit is contained in:
@@ -16,6 +16,7 @@ const CreateLyricsHeader = ({
|
||||
tint = "dark",
|
||||
containerStyle = {},
|
||||
onPress,
|
||||
blurViewStyle = {},
|
||||
}) => {
|
||||
const [onLayout, setOnLayout] = useState(null);
|
||||
const { isWeb } = useLayoutType();
|
||||
@@ -33,11 +34,12 @@ const CreateLyricsHeader = ({
|
||||
style={{
|
||||
height: isWeb ? onLayout?.height + 2 : onLayout?.height,
|
||||
top: isWeb ? -1 : 0,
|
||||
right: isWeb ? -1 : 0,
|
||||
borderWidth: 1,
|
||||
borderRadius: containerStyle?.borderRadius ?? 18,
|
||||
position: "absolute",
|
||||
width: "100%",
|
||||
width: isWeb ? onLayout?.width + 2 : onLayout?.width,
|
||||
left: -1,
|
||||
alignSelf: "center",
|
||||
}}
|
||||
/>
|
||||
<View
|
||||
@@ -58,6 +60,7 @@ const CreateLyricsHeader = ({
|
||||
paddingHorizontal: 12,
|
||||
paddingVertical: 8,
|
||||
gap: 4,
|
||||
...blurViewStyle,
|
||||
}}
|
||||
>
|
||||
{title && (
|
||||
|
||||
Reference in New Issue
Block a user