Skip to content

Commit 5246525

Browse files
Merge pull request #108 from CodebreakerApp/85-title-with-android
85 title with android
2 parents e913c54 + 3ad1893 commit 5246525

4 files changed

Lines changed: 17 additions & 2 deletions

File tree

src/CodeBreaker.Blazor.Client/Shared/LoginDisplay.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<AuthorizeView>
99
<Authorized>
10-
@Loc["Auth_TextBeforeUsername"] @context.User.Identity?.Name
10+
<span id="text-before-username">@Loc["Auth_TextBeforeUsername"]</span> @context.User.Identity?.Name
1111
<FluentSpacer Width="20" />
1212
<FluentButton Appearance="Appearance.Stealth" OnClick="Logout" IconStart="new Icons.Regular.Size20.SignOut()">
1313
@Loc["Auth_Signout"]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@media only screen and (max-width : 400px) {
2+
#text-before-username {
3+
display: none;
4+
}
5+
}

src/CodeBreaker.Blazor.Client/Shared/MainLayout.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<FluentMainLayout>
55
<Header>
6-
<h1>@($"{Loc["Index_Welcome"]} {Loc["AppDisplayName"]}")</h1>
6+
<h1><span id="welcome-message">@Loc["Index_Welcome"]</span> @Loc["AppDisplayName"]</h1>
77
<FluentSpacer />
88
<LoginDisplay />
99
</Header>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
h1 {
2+
font-size: 1.5em;
3+
margin: 0;
4+
}
5+
6+
@media only screen and (max-width : 600px) {
7+
#welcome-message {
8+
display: none;
9+
}
10+
}

0 commit comments

Comments
 (0)