Skip to content

Commit

Permalink
Fix select style
Browse files Browse the repository at this point in the history
  • Loading branch information
AsteroidusTv committed May 19, 2024
1 parent 705add7 commit f0420d5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
16 changes: 15 additions & 1 deletion styles/standard-assets/select.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
margin-top: 10px;
margin-left: 17px;
margin-right: 17px;
margin-bottom: -7px;
border: var(--border-width) var(--border-style) var(--border-color);
border-radius: none;
padding-left: 7.5px;
Expand All @@ -16,4 +17,17 @@
user-select: none;
cursor: pointer;
}


@media screen and (max-width: 521px) {
.standard-select {
margin-bottom: -25px;
width: 352px;
}
}

@media screen and (max-width: 428px) {
.standard-select {
margin-bottom: -20px;
width: 325px;
}
}
7 changes: 7 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ main {
}

@media screen and (max-width: 521px) {
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

main {
padding-bottom: 205px;
grid-template-columns: repeat(1, 1fr);
Expand Down

0 comments on commit f0420d5

Please sign in to comment.