Skip to content

Commit

Permalink
Increase content width to prevent overflow (#29)
Browse files Browse the repository at this point in the history
* Increase content width to prevent overflow

The CSS width of each word has been modified to allow overflow to continue rather than wrap and distort the normal structure of the page.

* [auto] daily

Co-authored-by: github-actions <github-actions@github.com>
  • Loading branch information
quantum9Innovation and github-actions committed Jun 26, 2022
1 parent 89d2817 commit 84f3f5f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
15 changes: 13 additions & 2 deletions App/four/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
.word {
width: 80%;
margin-left: 10%;
margin-left: 5vh;
}

@media (max-aspect-ratio: 1/1) {
.word {
margin-left: 5.6vw;
}
}

@media (max-aspect-ratio: 2/3) {
.word {
margin-left: 9vw;
}
}
4 changes: 2 additions & 2 deletions App/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ button {

#content {
position: absolute;
width: 50vh;
width: 67vh;
height: 50vh;
left: calc(50vw - 25vh);
top: 17vh;
Expand Down Expand Up @@ -803,7 +803,7 @@ button {
}

#content {
width: 67vw;
width: 75vw;
left: 16.5vw;
padding-top: calc(25vh - 22.5vw);
padding-left: 11vw;
Expand Down

1 comment on commit 84f3f5f

@vercel
Copy link

@vercel vercel bot commented on 84f3f5f Jun 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.