Skip to content

Commit

Permalink
Fix searchbar overflowing at certain widths
Browse files Browse the repository at this point in the history
  • Loading branch information
MytsV authored and maany committed Aug 13, 2024
1 parent edc74c8 commit 92ad22d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/component-library/Pages/Layout/Searchbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const SearchDropdown = forwardRef(function SearchDropdown(
return (
<div
className={twMerge(
"w-[50rem] flex flex-col p-2",
"w-[35rem] lg:w-[50rem] flex flex-col p-2",
"rounded-md border shadow-md",
isInputFocused ? "visible" : "invisible",
"absolute mt-2",
Expand Down
13 changes: 6 additions & 7 deletions src/component-library/outputtailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -933,8 +933,8 @@ html {
width: 2rem;
}

.w-\[50rem\] {
width: 50rem;
.w-\[35rem\] {
width: 35rem;
}

.w-fit {
Expand Down Expand Up @@ -2098,11 +2098,6 @@ html {
--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity));
}

.blur {
--tw-blur: blur(8px);
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);
}

.filter {
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);
}
Expand Down Expand Up @@ -3219,6 +3214,10 @@ html {
width: 24rem;
}

.lg\:w-\[50rem\] {
width: 50rem;
}

.lg\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
Expand Down

0 comments on commit 92ad22d

Please sign in to comment.