Skip to content

Commit e18e314

Browse files
authored
Merge pull request #231 from NikhilSharma03/skewing_screenshot_fix
[Site] Fixed image skewing
2 parents 6f9319a + 76eca2f commit e18e314

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

docs/_sass/layout.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,18 @@ hr {
474474
padding: 0rem 0;
475475
}
476476

477+
@media only screen and (max-width: 1300px) {
478+
.nighthawk-img-container {
479+
padding-top: 5rem;
480+
}
481+
}
482+
483+
@media only screen and (max-width: 1070px) {
484+
.nighthawk-img-container {
485+
padding-top: 10rem;
486+
}
487+
}
488+
477489
@media only screen and (max-width: 992px) {
478490
.custom-desc-div {
479491
display: flex;
@@ -496,6 +508,9 @@ hr {
496508
padding-right: 0.5rem !important;
497509
margin-bottom: 6rem !important;
498510
}
511+
.nighthawk-img-container {
512+
padding-top: 3rem;
513+
}
499514
}
500515

501516
@media only screen and (max-width: 768px) {

docs/index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,8 @@
6969

7070
<div class="nighthawk-description-div">
7171
<div class="custom-desc-div">
72-
<div class="custom-desc-div">
73-
<div class="custom-desc-div">
74-
<img src="/assets/images/screenshots/meshery-nighthawk-performance-chart.png" />
75-
</div>
72+
<div class="nighthawk-img-container">
73+
<img src="/assets/images/screenshots/meshery-nighthawk-performance-chart.png" />
7674
</div>
7775
<div class="description-div">
7876
<div class="nighthawk-desc-text head-h1">

0 commit comments

Comments
 (0)