mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:43:25 +00:00
fix caption positioning
This commit is contained in:
@@ -80,13 +80,14 @@ export const CaptionRenderer = () => {
|
|||||||
// className="rounded px-4 py-1 text-center leading-normal [text-shadow:0_2px_4px_rgba(0,0,0,0.5)]"
|
// className="rounded px-4 py-1 text-center leading-normal [text-shadow:0_2px_4px_rgba(0,0,0,0.5)]"
|
||||||
style={[
|
style={[
|
||||||
{
|
{
|
||||||
|
position: "absolute",
|
||||||
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
||||||
paddingLeft: 16,
|
paddingLeft: 16,
|
||||||
paddingRight: 16,
|
paddingRight: 16,
|
||||||
paddingTop: 4,
|
paddingTop: 4,
|
||||||
paddingBottom: 4,
|
paddingBottom: 4,
|
||||||
borderRadius: 10,
|
borderRadius: 10,
|
||||||
marginTop: 32,
|
bottom: 100,
|
||||||
},
|
},
|
||||||
animatedStyles,
|
animatedStyles,
|
||||||
]}
|
]}
|
||||||
|
Reference in New Issue
Block a user