Skip to content

Commit

Permalink
Fix scaling on blog page
Browse files Browse the repository at this point in the history
  • Loading branch information
Declan Chidlow committed Aug 29, 2023
1 parent b0daa56 commit 4869495
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/global/style/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ input[type=search]:focus {
outline: none;
border-bottom: 2px solid var(--orange);
}

@media (max-width: 1000px) {
input[type=search] {
width: 100%;
}
}

4 changes: 4 additions & 0 deletions config/global/style/standard.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ body {
margin: 0 5px;
}

}

@media (max-width: 1000px) {
#blogposts {
flex-direction: column;
}
Expand All @@ -110,3 +113,4 @@ body {
}

}

7 changes: 7 additions & 0 deletions docs/style/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ input[type=search]:focus {
outline: none;
border-bottom: 2px solid var(--orange);
}

@media (max-width: 1000px) {
input[type=search] {
width: 100%;
}
}

4 changes: 4 additions & 0 deletions docs/style/standard.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ body {
margin: 0 5px;
}

}

@media (max-width: 1000px) {
#blogposts {
flex-direction: column;
}
Expand All @@ -110,3 +113,4 @@ body {
}

}

0 comments on commit 4869495

Please sign in to comment.