Web: Fix position of MainButton with logo and display logo

This commit is contained in:
Alexey Safronov 2022-07-29 10:17:41 +03:00
parent 211ac2666f
commit 4c097607f9
2 changed files with 4 additions and 6 deletions

View File

@ -115,7 +115,8 @@ const StyledArticle = styled.article`
StyledArticle.defaultProps = { theme: Base };
const StyledArticleHeader = styled.div`
padding: 16px 20px 17px;
height: 30px;
padding: 16px 20px 9px;
margin-left: -1px;
display: flex;
justify-content: flex-start;

View File

@ -57,15 +57,12 @@ const ArticleHeader = ({
/>
) : (
<StyledIconBox name="article-burger" showText={showText}>
<ReactSVG
src="/static/images/logo.icon.react.svg"
onClick={onClick}
/>
<img src="/static/images/logo.icon.react.svg" onClick={onClick} />
</StyledIconBox>
)}
<StyledHeading showText={showText} size="large">
<ReactSVG
<img
src="/static/images/logo.docspace.react.svg"
onClick={onLogoClick}
/>