Skip to content
Snippets Groups Projects
Commit e0143e0d authored by esikkala's avatar esikkala
Browse files

Adjust top bar layout

parent c05ebf58
No related branches found
No related tags found
No related merge requests found
......@@ -16,9 +16,10 @@ const styles = theme => ({
'&:hover': {
backgroundColor: fade(theme.palette.common.white, 0.25)
},
marginRight: theme.spacing(3),
marginLeft: theme.spacing(2.5),
// marginRight: theme.spacing(3),
// marginLeft: theme.spacing(2.5),
width: '100%',
maxWidth: 300,
[theme.breakpoints.up('sm')]: {
marginLeft: theme.spacing(3),
width: 'auto'
......
......@@ -218,7 +218,9 @@ const TopBar = props => {
<AppBar position='static'>
<Toolbar className={classes.topBarToolbar}>
<Button component={AdapterLink} to='/'>
<Typography className={classes.homeButtonText} variant='h6'>{intl.get('appTitle.short')}</Typography>
<Typography className={classes.homeButtonText} variant='h6'>
{props.xsScreen ? intl.get('appTitle.mobile') : intl.get('appTitle.short')}
</Typography>
</Button>
{!clientFSMode &&
<TopBarSearchField
......
......@@ -6,6 +6,7 @@
},
"appTitle": {
"short": "Sampo-UI",
"mobile": "S-UI",
"long": "&nbsp; &nbsp; Sampo-UI &nbsp; &nbsp;",
"subheading": "\"Here to forge for us the Sampo, Hammer us the lid in colors\""
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment