Skip to content

Commit 40f4182

Browse files
authored
fix: search modal overflow (#8523)
* fix: search modal overflow * chore: bump version
1 parent 914daa3 commit 40f4182

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

packages/ui-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@node-core/ui-components",
3-
"version": "1.5.2",
3+
"version": "1.5.3",
44
"type": "module",
55
"exports": {
66
"./*": [

packages/ui-components/src/Common/Search/Modal/index.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
w-screen
111111
flex-col
112112
border-neutral-200
113+
md:max-w-[42rem]
113114
lg:h-auto
114115
lg:max-h-[70vh]
115116
lg:w-auto

packages/ui-components/src/Common/Search/Results/Hit/index.module.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,20 @@
2424
lg:dark:bg-neutral-950;
2525

2626
svg {
27-
@apply size-5;
27+
@apply size-5
28+
shrink-0;
29+
}
30+
31+
> div {
32+
@apply min-w-0;
2833
}
2934
}
3035

3136
.hitDescription {
32-
@apply text-sm
37+
@apply overflow-hidden
38+
text-sm
39+
text-ellipsis
40+
whitespace-nowrap
3341
text-neutral-600
3442
dark:text-neutral-700;
3543
}

packages/ui-components/src/Common/Search/Results/Tabs/index.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
.facetTabsList {
3737
@apply flex
38+
w-max
3839
items-center
3940
gap-2
4041
overflow-x-auto;

0 commit comments

Comments
 (0)