Skip to content

Commit

Permalink
Max width for search list, fit and space content better
Browse files Browse the repository at this point in the history
  • Loading branch information
Mansive committed Dec 23, 2023
1 parent 9d08d13 commit 0898791
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/app/page.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

.searchResultsList {
margin-top: 2rem;
width: 50%;
width: 100%;
max-width: 50rem;
height: 50%;
}
6 changes: 4 additions & 2 deletions src/components/Card/Card.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
flex-direction: row;
justify-content: space-between;
width: 100%;
height: 6rem;
height: fit-content;
margin: 0 auto;
padding: 1rem;
border-top: 0.14rem solid white;
gap: 1rem;
}

.cover {
Expand Down Expand Up @@ -41,12 +42,13 @@
flex-direction: column;
color: #ffffff;
text-align: right;
flex-shrink: 0;
}

.size {
color: #ffffff;
font-size: 1em;

}

.extension {
Expand Down

0 comments on commit 0898791

Please sign in to comment.