added zoomability
This commit is contained in:
1 parent
93fe26e787
commit
967508c29e
5 files changed
+84
-51
No files matched your search
@@ -5,6 +5,14 @@ export const useEditorStyles = createAppUseStyles<{
|
||||
closeInfo: boolean;
|
||||
horizontalMode: boolean;
|
||||
}>(theme => ({
|
||||
wrapper: {
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignItems: "flex-end",
|
||||
height: '100%',
|
||||
width: '100%',
|
||||
overflow: 'hidden',
|
||||
},
|
||||
root: ({ horizontalMode }) => ({
|
||||
height: '100%',
|
||||
width: '100%',
|
||||
@@ -22,10 +30,20 @@ export const useEditorStyles = createAppUseStyles<{
|
||||
bottom: horizontalMode ? '90%' : 10
|
||||
}),
|
||||
zoom: {
|
||||
position: 'absolute !important',
|
||||
right: 0,
|
||||
bottom: 0,
|
||||
backgroundColor: theme.secondary,
|
||||
color: theme.secondaryAccent,
|
||||
textAlign: 'center',
|
||||
maxWidth: "3em",
|
||||
},
|
||||
zoomImg: {
|
||||
// width: "1em",
|
||||
|
||||
},
|
||||
toolbar: {
|
||||
width: "100%",
|
||||
// maxWidth: "10em",
|
||||
display: "flex",
|
||||
flexDirection: "row",
|
||||
justifyContent: 'start',
|
||||
alignItems: "center",
|
||||
}
|
||||
}))
|
||||
Reference in new issue
Block a user