Skip to content
Snippets Groups Projects
Unverified Commit 7c0af085 authored by Marlo Longley's avatar Marlo Longley Committed by GitHub
Browse files

Merge pull request #3856 from ProjectMirador/mui5-branding-alignment

Fix branding alignment
parents dd478de4 90bbf2d5
Branches
No related tags found
2 merge requests!19Draft: Merge video support into mui5,!18Only nudge over badge content for the WindowListButton; it needs special...
......@@ -2,6 +2,7 @@ import { Component } from 'react';
import PropTypes from 'prop-types';
import IconButton from '@mui/material/IconButton';
import Typography from '@mui/material/Typography';
import Stack from '@mui/material/Stack';
import MiradorIcon from './icons/MiradorIcon';
/**
......@@ -13,7 +14,7 @@ export class Branding extends Component {
const { t, variant, ...ContainerProps } = this.props;
return (
<div {...ContainerProps}>
<Stack alignItems="center" {...ContainerProps}>
{ variant === 'wide' && (
<div>
<Typography align="center" component="p" variant="h3">{t('mirador')}</Typography>
......@@ -30,7 +31,7 @@ export class Branding extends Component {
<MiradorIcon aria-label={t('aboutMirador')} titleAccess={t('aboutMirador')} fontSize="large" />
</IconButton>
</Typography>
</div>
</Stack>
);
}
}
......
......@@ -47,8 +47,6 @@ const StyledWorkspaceButtons = styled('div', { name: 'WorkspaceControlPanel', sl
}));
const StyledBranding = styled(Branding, { name: 'WorkspaceControlPanel', slot: 'branding' })(({ theme }) => ({
display: 'flex',
justifyContent: 'center',
[theme.breakpoints.up('xs')]: {
display: 'none',
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment