Skip to content

Commit 541376d

Browse files
committed
Optimized layout, size and responsiveness for h1 heading
1 parent 2edebbe commit 541376d

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

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)