proper zoom level

This commit is contained in:
ari committed 2022-04-13 16:20:12 -04:00
1 parent b1c5bce584
commit 93fe26e787
6 files changed
+45 -12

No files matched your search

@@ -5,7 +5,7 @@ export const useEditorStyles = createAppUseStyles<{
closeInfo: boolean;
horizontalMode: boolean;
}>(theme => ({
root: ({horizontalMode}) => ({
root: ({ horizontalMode }) => ({
height: '100%',
width: '100%',
color: theme.primaryAccent,
@@ -18,7 +18,14 @@ export const useEditorStyles = createAppUseStyles<{
borderColor: theme.secondaryAccent,
width: '100%',
},
infoIcon: ({horizontalMode}) => ({
infoIcon: ({ horizontalMode }) => ({
bottom: horizontalMode ? '90%' : 10
})
}),
zoom: {
position: 'absolute !important',
right: 0,
bottom: 0,
width: "100%",
// maxWidth: "10em",
}
}))