Skip to content

Commit

Permalink
update screen size width values
Browse files Browse the repository at this point in the history
  • Loading branch information
second-slip committed Jul 25, 2024
1 parent f1ab9e2 commit 2911cb1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 17 deletions.
15 changes: 0 additions & 15 deletions src/app/app.component.css
Original file line number Diff line number Diff line change
@@ -1,15 +0,0 @@
/* Small devices (up to 768px) */
@media only screen and (max-width: 768px) {
.container {
margin: 2% 1% 5%;
/* top / right/left / bottom */
}
}

/* Larger devices (769px and up) */
@media only screen and (min-width: 769px) {
.container {
margin: 2% 10% 5%;
/* top / right/left / bottom */
}
}
14 changes: 12 additions & 2 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@ body {
}

/* Small devices (up to 768px) */
@media only screen and (max-width: 768px) {
@media only screen and (max-width: 666px) {
.container {
margin: 2% 1% 5%;
/* top / right/left / bottom */
}

.small-screen-warning {
text-align: center;
font-weight: bold;
Expand All @@ -70,7 +75,12 @@ body {
}

/* Larger devices (769px and up) */
@media only screen and (min-width: 769px) {
@media only screen and (min-width: 667px) {
.container {
margin: 2% 10% 5%;
/* top / right/left / bottom */
}

.small-screen-warning {
display: none;
}
Expand Down

0 comments on commit 2911cb1

Please sign in to comment.