diff --git a/src/components/base/IconTextField.jsx b/src/components/base/IconTextField.jsx index 1863721..939e6b1 100644 --- a/src/components/base/IconTextField.jsx +++ b/src/components/base/IconTextField.jsx @@ -25,7 +25,7 @@ function IconTextField(props) { const { iconName, classes } = props return (
- +
) diff --git a/src/components/base/icons/IconByName.jsx b/src/components/base/icons/IconByName.jsx index e7cedfd..939d5f5 100644 --- a/src/components/base/icons/IconByName.jsx +++ b/src/components/base/icons/IconByName.jsx @@ -15,7 +15,7 @@ const icons = { [PHOTO]: Photo } -const Icon = ({ name }) => { +const Icon = ({ name, centered }) => { const Component = icons[name] return (
{ borderRadius: '50%', padding: '10px', maxHeight: '45px', - justifySelf: 'center' - }}> + justifySelf: centered ? 'center' : 'auto' + }} >
) diff --git a/src/components/projects/CreateProject.jsx b/src/components/projects/CreateProject.jsx index 7c17edf..6df2796 100644 --- a/src/components/projects/CreateProject.jsx +++ b/src/components/projects/CreateProject.jsx @@ -81,7 +81,11 @@ const styles = theme => ({ gridColumnStart: 1, gridColumnEnd: 13, justifyItems: 'start', - gridAutoFlow: 'column' + gridAutoFlow: 'column', + paddingLeft: '5px' + }, + chatRoomIcon: { + justifySelf: 'auto' }, chatText: { marginTop: '15px',