Skip to content

Commit

Permalink
MPR Fix device details page rwd
Browse files Browse the repository at this point in the history
Fix device details page rwd
  • Loading branch information
pkong-ds authored Aug 12, 2024
2 parents 90ef298 + cb7bc40 commit 0c6e11c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/styles/upload.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,23 @@ main {
@media (min-width: 1440px) {
.mockup-content {
padding: 50px 200px;
display: flex;
flex-direction: column;
align-items: center;
}
}

.device-header {
flex: 1 1 0%;
}

@media (min-width: 1440px) {
.device-header {
width: min(calc(100vw - 400px), 1270px);
text-align: left;
}
}

.mockup-lg {
flex: 1 1 0%;
}
Expand All @@ -31,6 +41,13 @@ main {
}
}

@media (min-width: 1440px) {
.mockup-lg {
width: 100%;
max-width: 1270px;
}
}

@media (min-width: 992px) {
.mockup-lg-left {
flex: 1 1 0%;
Expand Down

0 comments on commit 0c6e11c

Please sign in to comment.