Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit dc71acc

Browse files
fix breadcrumbs in doc search modal (#1123)
1 parent 3586aff commit dc71acc

File tree

1 file changed

+17
-15
lines changed
  • client/src/pages/StudioTab/AddDocsModal/PagesWithPreview

1 file changed

+17
-15
lines changed

client/src/pages/StudioTab/AddDocsModal/PagesWithPreview/index.tsx

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -134,25 +134,27 @@ const PagesWithPreview = ({
134134
setHighlightedIndex={setHighlightedIndex}
135135
handleDocSubmit={handleSelectSection}
136136
displayTitle={
137-
<Tooltip
138-
placement="top-start"
139-
text={constructSectionTitle(
140-
s.doc_title,
141-
s.ancestry,
142-
s.header,
143-
)}
144-
>
145-
<BreadcrumbsPath
146-
path={constructSectionTitle(
137+
<div className="w-full overflow-hidden">
138+
<Tooltip
139+
placement="top-start"
140+
text={constructSectionTitle(
147141
s.doc_title,
148142
s.ancestry,
149143
s.header,
150144
)}
151-
repo={''}
152-
limitSectionWidth
153-
nonInteractive
154-
/>
155-
</Tooltip>
145+
>
146+
<BreadcrumbsPath
147+
path={constructSectionTitle(
148+
s.doc_title,
149+
s.ancestry,
150+
s.header,
151+
)}
152+
repo={''}
153+
limitSectionWidth
154+
nonInteractive
155+
/>
156+
</Tooltip>
157+
</div>
156158
}
157159
doc_title={s.doc_title}
158160
i={i}

0 commit comments

Comments
 (0)