fixed corners kinds

This commit is contained in:
incognitotgt 2023-12-29 18:22:01 -05:00
parent 3ba2d8ba06
commit aa86e2a4d1

View file

@ -70,8 +70,8 @@ export function Home() {
type="text"
value={inputValue}
onChange={handleInputChange}
className={`font-roboto h-14 rounded-2xl border border-input-border-color bg-input p-2 text-center text-xl placeholder:text-input-text focus:outline-none ${
isFocused ? "w-10/12 md:w-3/12" : "w-80"
className={`font-roboto h-14 rounded-t-2xl border border-input-border-color bg-input p-2 text-center text-xl placeholder:text-input-text focus:outline-none ${
isFocused ? "w-10/12 md:w-3/12" : "w-80 rounded-2xl"
} transition-all duration-300`}
placeholder={isFocused ? "" : t("home.placeholder")}
/>
@ -92,7 +92,7 @@ export function Home() {
}
>
<div
class={`font-roboto w-110 -rounded-2xl h-14 flex-none shrink-0 justify-center border border-input-border-color p-2 text-2xl hover:bg-dropdown-option-hover-color ${
class={`font-roboto w-110 h-14 flex-none shrink-0 justify-center border border-input-border-color p-2 text-2xl hover:bg-dropdown-option-hover-color ${
index === suggestion.length - 2 ? "rounded-b-2xl" : ""
}`}
key={index}