File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import { availableLanguages, languageKeyToLabel } from '../../../../i18n';
2828import { showToast } from '../../actions/toast' ;
2929import { setLanguage } from '../../actions/preferences' ;
3030import Overlay from '../../../App/components/Overlay' ;
31+ import ProjectName from './ProjectName' ;
3132
3233const Nav = styled ( NavBar ) `
3334 background: ${ prop ( 'MobilePanel.default.background' ) } ;
@@ -63,7 +64,7 @@ const Title = styled.div`
6364 flex-direction: column;
6465 gap: ${ remSize ( 2 ) } ;
6566
66- > * {
67+ * {
6768 padding: 0;
6869 margin: 0;
6970 }
@@ -231,7 +232,7 @@ const MobileNav = () => {
231232 < Logo />
232233 </ LogoContainer >
233234 < Title >
234- < h1 > { title } </ h1 >
235+ < h1 > { title === project . name ? < ProjectName /> : title } </ h1 >
235236 { project ?. owner && title === project . name && (
236237 < h5 > by { project ?. owner ?. username } </ h5 >
237238 ) }
You can’t perform that action at this time.
0 commit comments