Skip to content

Commit

Permalink
MINOR: fix the glossary description column width on term page (#19332)
Browse files Browse the repository at this point in the history
* fix the glossary description column width on term page

* decrease the width so for smaller screen, other column should not overflow
  • Loading branch information
Ashish8689 authored Jan 15, 2025
1 parent 4cd5988 commit b85883b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const GlossaryTermTab = ({
title: t('label.description'),
dataIndex: 'description',
key: 'description',
width: 250,
width: isGlossary ? 250 : 650,
render: (description: string) =>
description.trim() ? (
<RichTextEditorPreviewerV1
Expand Down Expand Up @@ -311,7 +311,7 @@ const GlossaryTermTab = ({
}

return data;
}, [permissions]);
}, [permissions, isGlossary]);

const defaultCheckedList = useMemo(
() =>
Expand Down

0 comments on commit b85883b

Please sign in to comment.