Skip to content

Commit 92ad22d

Browse files
MytsVmaany
authored andcommitted
Fix searchbar overflowing at certain widths
1 parent edc74c8 commit 92ad22d

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

src/component-library/Pages/Layout/Searchbar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const SearchDropdown = forwardRef(function SearchDropdown(
6767
return (
6868
<div
6969
className={twMerge(
70-
"w-[50rem] flex flex-col p-2",
70+
"w-[35rem] lg:w-[50rem] flex flex-col p-2",
7171
"rounded-md border shadow-md",
7272
isInputFocused ? "visible" : "invisible",
7373
"absolute mt-2",

src/component-library/outputtailwind.css

+6-7
Original file line numberDiff line numberDiff line change
@@ -933,8 +933,8 @@ html {
933933
width: 2rem;
934934
}
935935

936-
.w-\[50rem\] {
937-
width: 50rem;
936+
.w-\[35rem\] {
937+
width: 35rem;
938938
}
939939

940940
.w-fit {
@@ -2098,11 +2098,6 @@ html {
20982098
--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity));
20992099
}
21002100

2101-
.blur {
2102-
--tw-blur: blur(8px);
2103-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2104-
}
2105-
21062101
.filter {
21072102
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
21082103
}
@@ -3219,6 +3214,10 @@ html {
32193214
width: 24rem;
32203215
}
32213216

3217+
.lg\:w-\[50rem\] {
3218+
width: 50rem;
3219+
}
3220+
32223221
.lg\:grid-cols-2 {
32233222
grid-template-columns: repeat(2, minmax(0, 1fr));
32243223
}

0 commit comments

Comments
 (0)