From f0420d5a73a1e4339414d32ef09848568bac0166 Mon Sep 17 00:00:00 2001 From: AsteroidusTv Date: Sun, 19 May 2024 23:30:51 +0200 Subject: [PATCH] Fix select style --- styles/standard-assets/select.css | 16 +++++++++++++++- styles/styles.css | 7 +++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/styles/standard-assets/select.css b/styles/standard-assets/select.css index d901dbc..8642e17 100644 --- a/styles/standard-assets/select.css +++ b/styles/standard-assets/select.css @@ -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; @@ -16,4 +17,17 @@ user-select: none; cursor: pointer; } - \ No newline at end of file + +@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; + } +} \ No newline at end of file diff --git a/styles/styles.css b/styles/styles.css index a58e8ab..8820bc2 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -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);