Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@
py-4
pr-4
pl-9
text-sm
text-base
text-neutral-900
placeholder:text-neutral-500
focus:outline-none
md:text-sm
dark:border-neutral-900
dark:text-neutral-200
dark:placeholder:text-neutral-600;
Expand Down
15 changes: 15 additions & 0 deletions packages/ui-components/src/Common/Search/Modal/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,18 @@
lg:border
dark:border-neutral-900;
}

.modalCloseButton {
@apply absolute
top-2
right-4
z-10
cursor-pointer
bg-white
px-2
text-2xl
text-neutral-950
md:hidden
dark:bg-black
dark:text-neutral-200;
}
1 change: 1 addition & 0 deletions packages/ui-components/src/Common/Search/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const SearchModal: FC<PropsWithChildren<SearchModalProps>> = ({
placeholder={placeholder}
ariaLabel={placeholder}
/>
<Modal.Close className={styles.modalCloseButton} />
{children}
</Modal.Content>
</Modal.Inner>
Expand Down
Loading