File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
datahub-web-react/src/app/entityV2
dataset/profile/schema/components
shared/tabs/Documentation/components Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ const StyledViewer = styled(Editor)`
9898const DescriptionWrapper = styled . span `
9999 display: inline-flex;
100100 align-items: center;
101+ width: 100%;
101102` ;
102103
103104const AddModalWrapper = styled . div `` ;
@@ -219,13 +220,13 @@ export default function DescriptionField({
219220 customStyle = { { fontSize : '12px' } }
220221 scrollableY = { false }
221222 />
223+ { isSchemaEditable && isEdited && < EditedLabel > (edited)</ EditedLabel > }
222224 </ DescriptionWrapper >
223225 </ Tooltip >
224226 { /* </StripMarkdownText> */ }
225227 </ >
226228 )
227229 ) }
228- { isSchemaEditable && isEdited && < EditedLabel > (edited)</ EditedLabel > }
229230 { showAddModal && (
230231 < AddModalWrapper onClick = { ( e ) => e . stopPropagation ( ) } >
231232 < UpdateDescriptionModal
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ const ShowMoreWrapper = styled.div`
1616const MarkdownContainer = styled . div < { lineLimit ?: number | null } > `
1717 max-width: 100%;
1818 position: relative;
19+ flex: 1;
1920 ${ ( props ) =>
2021 props . lineLimit &&
2122 props . lineLimit <= 1 &&
@@ -36,6 +37,7 @@ const MarkdownViewContainer = styled.div<{ scrollableY: boolean }>`
3637 word-wrap: break-word;
3738 overflow-x: hidden;
3839 overflow-y: ${ ( props ) => ( props . scrollableY ? 'auto' : 'hidden' ) } ;
40+ flex: 1;
3941` ;
4042
4143const CompactEditor = styled ( Editor ) < { limit : number | null ; customStyle ?: React . CSSProperties } > `
You can’t perform that action at this time.
0 commit comments