Skip to content

Commit

Permalink
fixed image skewing
Browse files Browse the repository at this point in the history
Signed-off-by: Nikhil Sharma <[email protected]>
  • Loading branch information
NikhilSharma03 committed Dec 24, 2021
1 parent c2517c3 commit 76eca2f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
15 changes: 15 additions & 0 deletions docs/_sass/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,18 @@ hr {
padding: 0rem 0;
}

@media only screen and (max-width: 1300px) {
.nighthawk-img-container {
padding-top: 5rem;
}
}

@media only screen and (max-width: 1070px) {
.nighthawk-img-container {
padding-top: 10rem;
}
}

@media only screen and (max-width: 992px) {
.custom-desc-div {
display: flex;
Expand All @@ -496,6 +508,9 @@ hr {
padding-right: 0.5rem !important;
margin-bottom: 6rem !important;
}
.nighthawk-img-container {
padding-top: 3rem;
}
}

@media only screen and (max-width: 768px) {
Expand Down
6 changes: 2 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,8 @@

<div class="nighthawk-description-div">
<div class="custom-desc-div">
<div class="custom-desc-div">
<div class="custom-desc-div">
<img src="/assets/images/screenshots/meshery-nighthawk-performance-chart.png" />
</div>
<div class="nighthawk-img-container">
<img src="/assets/images/screenshots/meshery-nighthawk-performance-chart.png" />
</div>
<div class="description-div">
<div class="nighthawk-desc-text head-h1">
Expand Down

0 comments on commit 76eca2f

Please sign in to comment.