mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 12:23:24 +00:00
Merge pull request #8 from movie-web/firefox-android-styling
Make frame compatible with firefox android
This commit is contained in:
@@ -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": {
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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%);
|
||||||
}
|
}
|
@@ -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>
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user