
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> Co-authored-by: Michał Droń <dron.official@yahoo.com> Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
20 lines
432 B
TypeScript
20 lines
432 B
TypeScript
import { makeStyles } from "@saleor/macaw-ui";
|
|
|
|
export const useStyles = makeStyles(
|
|
() => ({
|
|
container: {
|
|
height: "100%",
|
|
},
|
|
iframeContainer: {
|
|
lineHeight: 0, // It removes extra space between iframe and container
|
|
height: "100%",
|
|
"& > iframe": {
|
|
border: "none",
|
|
minHeight: "100vh",
|
|
height: "100%",
|
|
width: "100%",
|
|
},
|
|
},
|
|
}),
|
|
{ name: "AppPage" },
|
|
);
|