fix: typos in px to em switch

main
Josue 4 years ago committed by Tsu-ba-me
parent 434fdd38bc
commit 27c34cbb01
  1. 2
      striker-ui/components/Header.tsx
  2. 4
      striker-ui/components/Network/Network.tsx
  3. 20
      striker-ui/components/Nodes/AnvilNode.tsx
  4. 2
      striker-ui/components/Panels/InnerPanel.tsx
  5. 8
      striker-ui/components/Panels/Panel.tsx
  6. 6
      striker-ui/components/Panels/PanelHeader.tsx
  7. 6
      striker-ui/components/SharedStorage/SharedStorage.tsx
  8. 10
      striker-ui/components/SharedStorage/SharedStorageNode.tsx

@ -18,7 +18,7 @@ const useStyles = makeStyles((theme) =>
borderRadius: '3px', borderRadius: '3px',
}, },
barElement: { barElement: {
padding: '0', padding: 0,
}, },
}), }),
); );

@ -20,8 +20,8 @@ const useStyles = makeStyles((theme) => ({
}, },
}, },
root: { root: {
paddingTop: '0.7em', paddingTop: '.7em',
paddingBottom: '0.7em', paddingBottom: '.7em',
}, },
noPaddingLeft: { noPaddingLeft: {
paddingLeft: 0, paddingLeft: 0,

@ -9,31 +9,31 @@ import Decorator, { Colours } from '../Decorator';
const useStyles = makeStyles((theme) => ({ const useStyles = makeStyles((theme) => ({
root: { root: {
overflow: 'auto', overflow: 'auto',
height: '24vh', height: '28vh',
paddingLeft: '0.3em', paddingLeft: '.3em',
[theme.breakpoints.down('md')]: { [theme.breakpoints.down('md')]: {
height: '100%', height: '100%',
overflow: 'hidden', overflow: 'hidden',
}, },
}, },
state: { state: {
paddingLeft: '0.7em', paddingLeft: '.7em',
paddingRight: '0.7em', paddingRight: '.7em',
paddingTop: '1em', paddingTop: '1em',
}, },
bar: { bar: {
paddingLeft: '0.7em', paddingLeft: '.7em',
paddingRight: '0.7em', paddingRight: '.7em',
}, },
header: { header: {
paddingTop: '0.3em', paddingTop: '.3em',
paddingRight: '0.7em', paddingRight: '.7em',
}, },
label: { label: {
paddingTop: '0.3em', paddingTop: '.3em',
}, },
decoratorBox: { decoratorBox: {
paddingRight: '0.3em', paddingRight: '.3em',
}, },
})); }));

@ -15,7 +15,7 @@ const useStyles = makeStyles(() => ({
borderColor: DIVIDER, borderColor: DIVIDER,
marginTop: '1.4em', marginTop: '1.4em',
marginBottom: '1.4em', marginBottom: '1.4em',
paddingBottom: '0.7em', paddingBottom: '.7em',
position: 'relative', position: 'relative',
}, },
})); }));

@ -31,12 +31,12 @@ const useStyles = makeStyles(() => ({
margin: 0, margin: 0,
}, },
topSquare: { topSquare: {
top: '-0.3em', top: '-.3em',
left: '-0.3em', left: '-.3em',
}, },
bottomSquare: { bottomSquare: {
bottom: '-0.3em', bottom: '-.3em',
right: '-0.3em', right: '-.3em',
}, },
})); }));

@ -10,11 +10,11 @@ type Props = {
const useStyles = makeStyles(() => ({ const useStyles = makeStyles(() => ({
innerHeader: { innerHeader: {
position: 'relative', position: 'relative',
padding: '0 0.7em', padding: '0 .7em',
}, },
header: { header: {
top: '-0.3em', top: '-.3em',
left: '-0.3em', left: '-.3em',
padding: '1.4em 0', padding: '1.4em 0',
position: 'absolute', position: 'absolute',
content: '""', content: '""',

@ -10,13 +10,13 @@ import { AnvilContext } from '../AnvilContext';
const useStyles = makeStyles((theme) => ({ const useStyles = makeStyles((theme) => ({
header: { header: {
paddingTop: '0.1em', paddingTop: '.1em',
paddingRight: '0.7em', paddingRight: '.7em',
}, },
root: { root: {
overflow: 'auto', overflow: 'auto',
height: '78vh', height: '78vh',
paddingLeft: '0.3em', paddingLeft: '.3em',
[theme.breakpoints.down('md')]: { [theme.breakpoints.down('md')]: {
height: '100%', height: '100%',
}, },

@ -7,16 +7,16 @@ import Decorator from '../Decorator';
const useStyles = makeStyles(() => ({ const useStyles = makeStyles(() => ({
fs: { fs: {
paddingLeft: '0.7em', paddingLeft: '.7em',
paddingRight: '0.7em', paddingRight: '.7em',
paddingTop: '1.2em', paddingTop: '1.2em',
}, },
bar: { bar: {
paddingLeft: '0.7em', paddingLeft: '.7em',
paddingRight: '0.7em', paddingRight: '.7em',
}, },
decoratorBox: { decoratorBox: {
paddingRight: '0.3em', paddingRight: '.3em',
}, },
})); }));

Loading…
Cancel
Save