Skip to content

Commit

Permalink
fix: css property
Browse files Browse the repository at this point in the history
  • Loading branch information
irisdv committed Jul 15, 2024
1 parent 84003c6 commit 6ee073a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/components/videoBackground.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from "react";
import React, { CSSProperties } from "react";

const VideoBackground = () => {
return (
Expand All @@ -12,13 +12,13 @@ const VideoBackground = () => {
);
};

const videoStyle: {} = {
const videoStyle: CSSProperties = {
width: "100%",
height: "100%",
objectFit: "cover",
};

const containerStyle: {} = {
const containerStyle: CSSProperties = {
position: "fixed",
right: "0",
bottom: "0",
Expand All @@ -28,7 +28,7 @@ const containerStyle: {} = {
overflow: "hidden",
};

const overlayStyle: {} = {
const overlayStyle: CSSProperties = {
position: "absolute",
top: "0",
left: "0",
Expand Down

0 comments on commit 6ee073a

Please sign in to comment.