Skip to content

Commit 8206043

Browse files
committed
Remove some spacing to be a bit more compact
1 parent 8ec3447 commit 8206043

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

src/LinkDotNet.Blog.Web/Features/Home/Components/MainLayout.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="position-relative min-vh-100">
66
<NavMenu/>
77

8-
<main class="py-5">
8+
<main class="py-3">
99
@Body
1010
</main>
1111
<Footer></Footer>

src/LinkDotNet.Blog.Web/Features/Home/Index.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
<OgData Title="@(Markdown.ToPlainText(AppConfiguration.BlogName))"
1515
AbsolutePreviewImageUrl="@ImageUrl"
1616
Description="@(Markdown.ToPlainText(AppConfiguration.Introduction.Description))"></OgData>
17-
<section class="introduction">
17+
<section>
1818
<IntroductionCard></IntroductionCard>
1919
</section>
2020

2121
<section>
2222
<header>
23-
<div class="recent-posts">
24-
<h1>Recent Posts</h1>
23+
<div class="text-center pt-2">
24+
<h1 class="m-auto align-middle pt-4 pb-3">Recent Posts</h1>
2525
</div>
2626
</header>
2727
<div class="content px-4 my-2">

src/LinkDotNet.Blog.Web/Features/Home/Index.razor.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,4 @@
66
.recent-posts {
77
text-align:center;
88
padding-top: 10px;
9-
}
10-
11-
.recent-posts h1 {
12-
font-size: 2.5em;
13-
vertical-align:middle;
14-
margin: auto;
15-
padding-top: 75px;
16-
padding-bottom: 20px;
179
}

0 commit comments

Comments
 (0)