Skip to content

Commit

Permalink
Merge pull request #28 from mihaiconstantin/fix/media-query-mobile
Browse files Browse the repository at this point in the history
Update breakpoints for mobile views
  • Loading branch information
mihaiconstantin authored Aug 31, 2022
2 parents 1a86970 + 217a6cf commit 3711ab2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion docs/.vuepress/styles/general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ table {
}

// Adjustments for screens smaller than 419px.
@media only screen and (max-width: 419px) {
// Additional break points are used based on the content.
@media only screen and (max-width: 419px), (max-width: 428px) {
font-size: 1rem;
}
}
Expand Down
4 changes: 2 additions & 2 deletions docs/.vuepress/styles/pages/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@

.heart {
display: inline-block;
position: relative;
color: rgb(196, 27, 27);
font-size: 1.3rem;
cursor: default;
filter: grayscale(20%);
transition: all .5s;

&:before {
Expand All @@ -56,7 +56,7 @@
position: absolute;
left: 0;
right: 0;
bottom: 31%;
bottom: 32%;
text-align: center;
transition: all .5s;
}
Expand Down
6 changes: 4 additions & 2 deletions docs/.vuepress/styles/pages/tutorial.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
}

// Adjustments for screens smaller than 419px.
@media only screen and (max-width: 419px) {
// Additional break points are used based on the content.
@media only screen and (max-width: 419px), (max-width: 428px) {
img {
width: 80%;
}
Expand All @@ -40,7 +41,8 @@
.table-arguments {
table {
// Adjustments for screens smaller than 419px.
@media only screen and (max-width: 419px) {
// Additional break points are used based on the content.
@media only screen and (max-width: 419px), (max-width: 428px), (max-width: 517px) {
font-size: 0.8rem;

td, th {
Expand Down

0 comments on commit 3711ab2

Please sign in to comment.