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';
28
28
import { showToast } from '../../actions/toast' ;
29
29
import { setLanguage } from '../../actions/preferences' ;
30
30
import Overlay from '../../../App/components/Overlay' ;
31
+ import ProjectName from './ProjectName' ;
31
32
32
33
const Nav = styled ( NavBar ) `
33
34
background: ${ prop ( 'MobilePanel.default.background' ) } ;
@@ -63,7 +64,7 @@ const Title = styled.div`
63
64
flex-direction: column;
64
65
gap: ${ remSize ( 2 ) } ;
65
66
66
- > * {
67
+ * {
67
68
padding: 0;
68
69
margin: 0;
69
70
}
@@ -231,7 +232,7 @@ const MobileNav = () => {
231
232
< Logo />
232
233
</ LogoContainer >
233
234
< Title >
234
- < h1 > { title } </ h1 >
235
+ < h1 > { title === project . name ? < ProjectName /> : title } </ h1 >
235
236
{ project ?. owner && title === project . name && (
236
237
< h5 > by { project ?. owner ?. username } </ h5 >
237
238
) }
You can’t perform that action at this time.
0 commit comments