Skip to content

Commit 5601db3

Browse files
authored
Merge pull request #35 from IPdotSetAF/34-responsiveness
34 responsiveness
2 parents 569baf2 + 88be889 commit 5601db3

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Frontend/src/app/header/header.component.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<div id="header">
22
<div class="position-relative">
33

4-
<div class="position-absolute h-100 w-100 row">
4+
<div class="position-absolute w-100 row m-0 ps-1 pe-2">
55
<div class="col-6 header-section d-flex justify-content-start">
6-
<a class="h-100 d-flex justify-content-start gap-2 align-items-center ps-2" [routerLink]="['/']">
6+
<a class="h-100 d-flex justify-content-start gap-2 align-items-center" [routerLink]="['/']">
77
<img class="img-header" src="code-chef.svg" />
88
<h1 class="fs-3 m-0">CodeChef</h1>
99
</a>
1010
</div>
1111

12-
<div class="col-6 header-section d-flex align-items-center justify-content-end p-2 gap-2">
12+
<div class="col-6 header-section d-flex align-items-center justify-content-end p-0 gap-2">
1313
<a role="button" class="btn-header-round btn-hover btn-circle" href="https://ipdotsetaf.ir"
1414
title="IPdotSetAF">
1515
<img id="ipaf" class="img-header" src="ipaf.svg" />
@@ -19,8 +19,8 @@ <h1 class="fs-3 m-0">CodeChef</h1>
1919
</div>
2020
</div>
2121

22-
<div class="row h-100 w-100">
23-
<div class="col-sm-4 header-section "></div>
22+
<div class="row h-100 w-100 m-0">
23+
<div class="col-sm-4 header-section"></div>
2424

2525
<div class="col-sm-4 h-100 header-section d-flex justify-content-center">
2626
<div class="dropdown">
@@ -40,7 +40,6 @@ <h1 class="fs-3 m-0">CodeChef</h1>
4040
<a role="button" class="btn-header btn-hover" [routerLink]="['/downloads']"><i class="bi bi-download"></i>
4141
Downloads</a>
4242
</div>
43-
4443
</div>
4544
</div>
4645
<div class="col-12 divider"></div>

Frontend/src/app/home/home.component.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
<div class="container-fluid">
22
<div id="header" class="position-absolute p-2">
3-
<div class="d-flex align-items-center justify-content-end gap-2">
4-
<a role="button" class="btn-header-round btn-hover btn-circle bi bi-download fs-3" [routerLink]="['/downloads']" title="Downloads"></a>
3+
<div class="d-flex align-items-center justify-content-end p-0 gap-2">
4+
<a role="button" class="btn-header-round btn-hover btn-circle bi bi-download fs-3" [routerLink]="['/downloads']"
5+
title="Downloads"></a>
56
<a role="button" class="btn-header-round btn-hover btn-circle" href="https://ipdotsetaf.ir" title="IPdotSetAF">
67
<img id="ipaf" class="img-header" src="ipaf.svg" />
78
</a>
8-
<a role="button" class="btn-header-round btn-hover btn-circle bi bi-github fs-2" href="https://github.com/IPdotSetAF/CodeChef"
9-
title="CodeChef Github"></a>
9+
<a role="button" class="btn-header-round btn-hover btn-circle bi bi-github fs-2"
10+
href="https://github.com/IPdotSetAF/CodeChef" title="CodeChef Github"></a>
1011
</div>
1112
</div>
1213
</div>
1314
<div class="container-fluid d-flex page p-4">
1415
<div class="m-auto">
15-
<div class="col-12 d-flex justify-content-center">
16-
<img class="row" src="code-chef.svg" height="200px" />
16+
<div class="row d-flex justify-content-center">
17+
<img class="col-md-8 col-11" src="code-chef.svg" width="100%" />
1718
</div>
1819
<br />
1920
<div class="row text-center">

0 commit comments

Comments
 (0)