Skip to content

Commit bc15808

Browse files
author
Ajay kumar
committed
[Blog] [Ajay]: Fix the header image and author details
1 parent 2cf0d20 commit bc15808

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

TestArena/Blog/Common/BlogContainer.razor

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

1111
<style>
1212
.content-wrapper {
13-
width: 80%; /* Leaves 20% space on left and right */
13+
width: 70%; /* Leaves 20% space on left and right */
1414
background: white;
1515
}
1616

TestArena/Blog/Common/Header.razor

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
padding: 20px 0;
1717
}
1818
19-
.container-fluid, .row, .col-md-12, .col-6 {
19+
.container-fluid,
20+
.row,
21+
.col-md-12,
22+
.col-6 {
2023
padding: 0 !important;
2124
margin: 0 !important;
2225
}
@@ -41,19 +44,17 @@
4144
<div class="container-fluid">
4245
<div class="row">
4346
<!-- Author on the left -->
44-
<div class="col-6 d-flex justify-content-start">
47+
<div class="col-md-6 col-xs-12 d-flex justify-content-md-start justify-content-center">
4548
<span class="text-secondary fw-bold">Author(s): </span>
4649
<span class="text-secondary fw-bold ms-1">@Authors</span>
4750
</div>
4851

4952
<!-- Published date on the right -->
50-
<div class="col-6 d-flex justify-content-end">
53+
<div class="col-md-6 col-xs-12 d-flex justify-content-md-end justify-content-center">
5154
<span class="text-muted fw-bold">Published On: @PublishedOn.ToString("dd MMM yyyy")</span>
5255
</div>
5356
</div>
5457
</div>
5558
</div>
5659
</div>
57-
58-
5960
</header>

0 commit comments

Comments
 (0)