Skip to content

Commit aaaafad

Browse files
Merge pull request #412 from microsoft/PSL-Bug-20379
fix: Even if the summary is short, scroll bar appears
2 parents 15ea9f0 + f91a138 commit aaaafad

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

App/frontend-app/src/assets/scss/global.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,8 @@ $max-content-width: 1600px;
104104
._max-content-width {
105105
max-width: $max-content-width;
106106
}
107+
}
108+
109+
.autoHeight {
110+
height :auto !important;
107111
}

App/frontend-app/src/components/documentViewer/dialogContentComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function DialogContentComponent({
5252
</div>
5353
)}
5454

55-
<div className="mb-4 h-96 overflow-y-auto">
55+
<div className="mb-4 h-96 overflow-y-auto autoHeight">
5656
{allChunkTexts.map(
5757
(item, index) =>
5858
item && (

0 commit comments

Comments
 (0)