Skip to content

Commit 4f082b5

Browse files
authored
🐛 Fix ReleaseNote not showing all content when expanded (#1187)
1 parent b19847e commit 4f082b5

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/organisms/ReleaseNote/ReleaseNote.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,13 @@ export const ReleaseNote = forwardRef<HTMLDivElement, ReleaseNoteProps>(
133133
? 'auto'
134134
: RELEASE_NOTE_RICH_TEXT_COLLAPSED_HEIGHT,
135135
}}
136-
style={{ overflow: isExpanded ? 'auto' : undefined }}
136+
style={{
137+
overflow: isExpanded ? 'auto' : undefined,
138+
marginBottom:
139+
isExpanded && needsShowMore
140+
? `calc(${spacings.medium} + ${shape.button.minHeight})`
141+
: undefined,
142+
}}
137143
>
138144
<RichTextDisplay
139145
value={body}

0 commit comments

Comments
 (0)