Cleanup of CSS.

This commit is contained in:
Håvar Aambø Fosstveit
2019-06-25 14:38:48 +02:00
parent da3233faf3
commit bfe6d14b1a
9 changed files with 87 additions and 101 deletions
@@ -7,11 +7,11 @@ import * as appPropTypes from '../../appPropTypes';
import EmptyAvatar from '../../../images/avatar-empty.jpeg';
import HandIcon from '../../../images/icon-hand-white.svg';
const styles = () =>
const styles = (theme) =>
({
root :
{
padding : '0.5rem',
padding : theme.spacing(1),
width : '100%',
overflow : 'hidden',
cursor : 'auto',
@@ -31,7 +31,7 @@ const styles = () =>
fontSize : '1rem',
border : 'none',
display : 'flex',
paddingLeft : '0.5rem',
paddingLeft : theme.spacing(1),
flexGrow : 1,
alignItems : 'center'
},
@@ -13,11 +13,11 @@ import ScreenOffIcon from '@material-ui/icons/StopScreenShare';
import EmptyAvatar from '../../../images/avatar-empty.jpeg';
import HandIcon from '../../../images/icon-hand-white.svg';
const styles = () =>
const styles = (theme) =>
({
root :
{
padding : '0.5rem',
padding : theme.spacing(1),
width : '100%',
overflow : 'hidden',
cursor : 'auto',
@@ -37,7 +37,7 @@ const styles = () =>
fontSize : '1rem',
border : 'none',
display : 'flex',
paddingLeft : '0.5rem',
paddingLeft : theme.spacing(1),
flexGrow : 1,
alignItems : 'center'
},
@@ -18,7 +18,7 @@ const styles = (theme) =>
{
width : '100%',
overflowY : 'auto',
padding : 6
padding : theme.spacing(1)
},
list :
{
@@ -29,12 +29,12 @@ const styles = (theme) =>
},
listheader :
{
padding : '0.5rem',
padding : theme.spacing(1),
fontWeight : 'bolder'
},
listItem :
{
padding : '0.5rem',
padding : theme.spacing(1),
width : '100%',
overflow : 'hidden',
cursor : 'pointer',