Skip to content

Commit 0408a0f

Browse files
author
Ajay kumar
committed
[Blog] [Ajay]: Fix responsiveness
1 parent 52b43f0 commit 0408a0f

File tree

5 files changed

+4
-23
lines changed

5 files changed

+4
-23
lines changed

TestArena/Blog/Common/BlogContainer.razor

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

1111
<style>
1212
.content-wrapper {
13-
width: 70%; /* Leaves 20% space on left and right */
14-
padding: 20px;
13+
width: 80%; /* Leaves 20% space on left and right */
1514
background: white;
1615
}
1716

TestArena/Blog/Common/Header.razor

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,3 @@
2323
<h1 class="fw-bold">@Title</h1>
2424
<img src="@Image" alt="Article Banner" height="200" width="auto" class="img-fluid rounded mx-auto d-block my-3">
2525
</header>
26-
27-
@* <div class="row"> *@
28-
@* <div class="col-md-12"> *@
29-
@* <h1>@Title</h1> *@
30-
@* </div> *@
31-
@* </div> *@
32-
@* <div class="row"> *@
33-
@* <div class="col-md-12"> *@
34-
@* <img height="500px" width="500px" src="@Image" alt="PactNet introduction in dotnet"/> *@
35-
@* </div> *@
36-
@* </div> *@
37-
@* @if (!string.IsNullOrEmpty(Description)) *@
38-
@* { *@
39-
@* <div class="row"> *@
40-
@* <div class="col-md-12"> *@
41-
@* <p>@Description</p> *@
42-
@* </div> *@
43-
@* </div> *@
44-
@* } *@

TestArena/Blog/Common/Section.razor

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
<section>
1010
@{
11-
switch(Level){
11+
switch (Level)
12+
{
1213
case 1:
1314
<h1>@Heading</h1>
1415
break;

TestArena/Blog/PactNet/Intro/Index.razor

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

44
<BlogContainer>
55
<Header Title="Intro to PACT for .NET Core: API contract testing"
6-
Image="/images/blog/pact/intro/contract_test_intro.webp"></Header>
6+
Image="/images/blog/pact/intro/header_landscape.png"/>
77
<Summary/>
88
<BuildStepDetection />
99
<HowToSteps />
453 KB
Loading

0 commit comments

Comments
 (0)