Make frame compatible with firefox android

This commit is contained in:
mrjvs
2024-01-25 20:25:00 +01:00
parent 6cc6c3d29f
commit 302b6ef71c
4 changed files with 13 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
{ {
"name": "@movie-web/extension", "name": "@movie-web/extension",
"displayName": "movie-web extension", "displayName": "movie-web extension",
"version": "1.0.1", "version": "1.0.2",
"description": "Enhance your movie-web experience with just one click", "description": "Enhance your movie-web experience with just one click",
"author": "movie-web", "author": "movie-web",
"scripts": { "scripts": {

View File

@@ -1,6 +1,13 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;800&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;800&display=swap');
html {
min-height: 300px;
min-width: 300px;
}
body { body {
min-height: 300px;
min-width: 300px;
margin: 0; margin: 0;
font-family: 'Inter', sans-serif; font-family: 'Inter', sans-serif;
} }

View File

@@ -1,4 +1,6 @@
.frame { .frame {
height: 100%;
width: 100%;
background-color: #0a080e; background-color: #0a080e;
background-image: radial-gradient(271.48% 132.05% at 136.13% 65.62%, #271945b3 0%, #1c1c2c00 100%), radial-gradient(671.15% 123.02% at 76.68% -34.38%, #272753 0%, #17172000 100%); background-image: radial-gradient(271.48% 132.05% at 136.13% 65.62%, #271945b3 0%, #1c1c2c00 100%), radial-gradient(671.15% 123.02% at 76.68% -34.38%, #272753 0%, #17172000 100%);
} }

View File

@@ -7,9 +7,5 @@ export interface FrameProps {
} }
export function Frame(props: FrameProps) { export function Frame(props: FrameProps) {
return ( return <div className="frame">{props.children}</div>;
<div className="frame" style={{ width: 300, height: 300 }}>
{props.children}
</div>
);
} }