saleor-dashboard/src/apps/components/AppPage/styles.ts
Patryk Andrzejewski 3789f5bb52
New macaw ui (#3069)
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>
2023-02-20 16:21:28 +01:00

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" },
);