fixed up some styling issues

This commit is contained in:
ari committed 2022-06-06 19:40:20 -04:00
1 parent d3fff074e5
commit 78494ee74d
3 files changed
+10 -6

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ import { useMockAPI } from "./mock";
const locationPrefixWeb = window.location.pathname.match(/(\/.+\/)web/i);
const baseURL = new URL(
process.env.NODE_ENV === 'development' ?
"http://localhost:8000" :
`http://${window.location.hostname}:8000` :
window.location.origin + (!locationPrefixWeb ? '' : locationPrefixWeb[1])
);
export const wsURL = baseURL + "socket"
+5 -5
View File
@@ -13,7 +13,7 @@ const useModalStyle = createAppUseStyles<ModalStyleProps>(theme => ({
justifyContent: 'center',
alignItems: 'center',
zIndex: open ? 10 : -1,
position: 'absolute',
position: 'fixed',
height: '100vh',
width: '100vw',
top: 0,
@@ -30,10 +30,10 @@ const useModalStyle = createAppUseStyles<ModalStyleProps>(theme => ({
},
inner: {
zIndex: 10,
maxWidth: '80%',
maxHeight: '90%',
minHeight: 'fit-content',
minWidth: 'fit-content',
maxWidth: '80vw',
maxHeight: '90vh',
minHeight: 'min-content',
minWidth: '100px',
padding: '15px',
display: 'flex',
flexDirection: 'column',
@@ -63,4 +63,8 @@
align-items: flex-start;
padding: 0 0.5em 0 1.5em;
margin: 0;
}
.node-editor--error>li {
text-align: left;
}