fix: input clipping on small desktop size

This commit is contained in:
efim 2023-09-27 03:46:24 +00:00
parent b1c128738f
commit 841543e984
2 changed files with 44 additions and 86 deletions

View File

@ -522,11 +522,6 @@ video {
--tw-backdrop-sepia: ; --tw-backdrop-sepia: ;
} }
.mx-5 {
margin-left: 1.25rem;
margin-right: 1.25rem;
}
.my-4 { .my-4 {
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
@ -560,10 +555,6 @@ video {
display: contents; display: contents;
} }
.h-12 {
height: 3rem;
}
.h-14 { .h-14 {
height: 3.5rem; height: 3.5rem;
} }
@ -584,6 +575,10 @@ video {
height: 1.25rem; height: 1.25rem;
} }
.h-6 {
height: 1.5rem;
}
.h-9 { .h-9 {
height: 2.25rem; height: 2.25rem;
} }
@ -597,40 +592,12 @@ video {
height: fit-content; height: fit-content;
} }
.h-screen {
height: 100vh;
}
.h-6 {
height: 1.5rem;
}
.h-8 {
height: 2rem;
}
.h-full { .h-full {
height: 100%; height: 100%;
} }
.h-10 { .h-screen {
height: 2.5rem; height: 100vh;
}
.h-3 {
height: 0.75rem;
}
.h-4 {
height: 1rem;
}
.h-7 {
height: 1.75rem;
}
.h-16 {
height: 4rem;
} }
.max-h-60 { .max-h-60 {
@ -649,10 +616,6 @@ video {
width: 1rem; width: 1rem;
} }
.w-6 {
width: 1.5rem;
}
.w-64 { .w-64 {
width: 16rem; width: 16rem;
} }
@ -669,14 +632,6 @@ video {
width: 100vw; width: 100vw;
} }
.w-8 {
width: 2rem;
}
.w-12 {
width: 3rem;
}
.max-w-screen-xl { .max-w-screen-xl {
max-width: 1280px; max-width: 1280px;
} }
@ -796,11 +751,6 @@ video {
border-width: 1px; border-width: 1px;
} }
.border-yellow-400 {
--tw-border-opacity: 1;
border-color: rgb(250 204 21 / var(--tw-border-opacity));
}
.bg-very-light-gray { .bg-very-light-gray {
--tw-bg-opacity: 1; --tw-bg-opacity: 1;
background-color: hsl(0 0% 98% / var(--tw-bg-opacity)); background-color: hsl(0 0% 98% / var(--tw-bg-opacity));
@ -850,11 +800,6 @@ video {
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
} }
.px-12 {
padding-left: 3rem;
padding-right: 3rem;
}
.pb-10 { .pb-10 {
padding-bottom: 2.5rem; padding-bottom: 2.5rem;
} }
@ -885,16 +830,6 @@ video {
font-weight: 700; font-weight: 700;
} }
.text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.text-gray-500 {
--tw-text-opacity: 1;
color: rgb(107 114 128 / var(--tw-text-opacity));
}
.text-black { .text-black {
--tw-text-opacity: 1; --tw-text-opacity: 1;
color: rgb(0 0 0 / var(--tw-text-opacity)); color: rgb(0 0 0 / var(--tw-text-opacity));
@ -973,21 +908,11 @@ html {
outline-offset: 2px; outline-offset: 2px;
} }
:is(.dark .dark\:border-dark-blue) {
--tw-border-opacity: 1;
border-color: hsl(209 23% 22% / var(--tw-border-opacity));
}
:is(.dark .dark\:bg-dark-blue) { :is(.dark .dark\:bg-dark-blue) {
--tw-bg-opacity: 1; --tw-bg-opacity: 1;
background-color: hsl(209 23% 22% / var(--tw-bg-opacity)); background-color: hsl(209 23% 22% / var(--tw-bg-opacity));
} }
:is(.dark .dark\:bg-dark-gray) {
--tw-bg-opacity: 1;
background-color: hsl(0 0% 52% / var(--tw-bg-opacity));
}
:is(.dark .dark\:bg-very-dark-blue) { :is(.dark .dark\:bg-very-dark-blue) {
--tw-bg-opacity: 1; --tw-bg-opacity: 1;
background-color: hsl(207 26% 17% / var(--tw-bg-opacity)); background-color: hsl(207 26% 17% / var(--tw-bg-opacity));
@ -1013,6 +938,18 @@ html {
grid-column: 1 / -1; grid-column: 1 / -1;
} }
.md\:mr-0 {
margin-right: 0px;
}
.md\:mr-8 {
margin-right: 2rem;
}
.md\:mr-10 {
margin-right: 2.5rem;
}
.md\:flex { .md\:flex {
display: flex; display: flex;
} }
@ -1021,6 +958,10 @@ html {
display: grid; display: grid;
} }
.md\:h-16 {
height: 4rem;
}
.md\:h-32 { .md\:h-32 {
height: 8rem; height: 8rem;
} }
@ -1034,10 +975,6 @@ html {
height: max-content; height: max-content;
} }
.md\:h-16 {
height: 4rem;
}
.md\:w-1\/4 { .md\:w-1\/4 {
width: 25%; width: 25%;
} }
@ -1054,6 +991,15 @@ html {
width: 100%; width: 100%;
} }
.md\:min-w-max {
min-width: -moz-max-content;
min-width: max-content;
}
.md\:max-w-full {
max-width: 100%;
}
.md\:grid-cols-2 { .md\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-columns: repeat(2, minmax(0, 1fr));
} }
@ -1106,6 +1052,18 @@ html {
padding-right: 0.5rem; padding-right: 0.5rem;
} }
.md\:pr-8 {
padding-right: 2rem;
}
.md\:pr-0 {
padding-right: 0px;
}
.md\:pr-10 {
padding-right: 2.5rem;
}
.md\:text-2xl { .md\:text-2xl {
font-size: 1.5rem; font-size: 1.5rem;
line-height: 2rem; line-height: 2rem;

View File

@ -68,7 +68,7 @@
hx-get="/country" hx-get="/country"
hx-target="body" hx-target="body"
hx-push-url="true" hx-push-url="true"
class="md:w-1/4" class="md:w-1/4 md:min-w-max"
> >
<div <div
class="flex flex-row items-center bg-white shadow-md h-14 md:h-16 rounded-lg md:w-full dark:bg-dark-blue" class="flex flex-row items-center bg-white shadow-md h-14 md:h-16 rounded-lg md:w-full dark:bg-dark-blue"