File tree Expand file tree Collapse file tree 4 files changed +26
-14
lines changed
Expand file tree Collapse file tree 4 files changed +26
-14
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,11 @@ const FileInfo = ({
4848 >
4949 < ModalDialog . Header >
5050 < ModalDialog . Title >
51- { asset . displayName }
51+ < div style = { { wordBreak : 'break-word' } } >
52+ < Truncate lines = { 2 } className = "font-weight-bold small mt-3" >
53+ { asset . displayName }
54+ </ Truncate >
55+ </ div >
5256 </ ModalDialog . Title >
5357 </ ModalDialog . Header >
5458 < ModalDialog . Body className = "pt-0 x-small" >
@@ -83,9 +87,11 @@ const FileInfo = ({
8387 < FormattedMessage { ...messages . studioUrlTitle } />
8488 </ div >
8589 < ActionRow >
86- < Truncate lines = { 1 } >
87- { asset . portableUrl }
88- </ Truncate >
90+ < div style = { { wordBreak : 'break-word' } } >
91+ < Truncate lines = { 1 } >
92+ { asset . portableUrl }
93+ </ Truncate >
94+ </ div >
8995 < ActionRow . Spacer />
9096 < IconButton
9197 src = { ContentCopy }
@@ -98,9 +104,11 @@ const FileInfo = ({
98104 < FormattedMessage { ...messages . webUrlTitle } />
99105 </ div >
100106 < ActionRow >
101- < Truncate lines = { 1 } >
102- { asset . externalUrl }
103- </ Truncate >
107+ < div style = { { wordBreak : 'break-word' } } >
108+ < Truncate lines = { 1 } >
109+ { asset . externalUrl }
110+ </ Truncate >
111+ </ div >
104112 < ActionRow . Spacer />
105113 < IconButton
106114 src = { ContentCopy }
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ const FilesAndUploads = ({
245245 } }
246246 />
247247 ) : (
248- < div data-testid = "files-data-table" >
248+ < div data-testid = "files-data-table" className = "mr-4 ml-3" >
249249 < DataTable . TableControlBar />
250250 { currentView === 'card' && < CardView CardComponent = { fileCard } columnSizes = { columnSizes } selectionPlacement = "left" skeletonCardCount = { 6 } /> }
251251 { currentView === 'list' && < CardView CardComponent = { fileCard } columnSizes = { { xs : 12 } } selectionPlacement = "left" skeletonCardCount = { 4 } /> }
Original file line number Diff line number Diff line change @@ -61,9 +61,11 @@ const GalleryCard = ({
6161 </ div >
6262 ) }
6363 </ div >
64- < Truncate lines = { 1 } className = "font-weight-bold small mt-3" >
65- { original . displayName }
66- </ Truncate >
64+ < div style = { { wordBreak : 'break-word' } } >
65+ < Truncate lines = { 1 } className = "font-weight-bold small mt-3" >
66+ { original . displayName }
67+ </ Truncate >
68+ </ div >
6769 </ Card . Section >
6870 < Card . Footer >
6971 < Chip >
Original file line number Diff line number Diff line change @@ -50,9 +50,11 @@ const ListCard = ({
5050 </ div >
5151 < Card . Body >
5252 < Card . Section >
53- < Truncate lines = { 1 } className = "font-weight-bold small mt-3" >
54- { original . displayName }
55- </ Truncate >
53+ < div style = { { wordBreak : 'break-word' } } >
54+ < Truncate lines = { 1 } className = "font-weight-bold small mt-3" >
55+ { original . displayName }
56+ </ Truncate >
57+ </ div >
5658 < Chip className = "mt-3" >
5759 { original . wrapperType }
5860 </ Chip >
You can’t perform that action at this time.
0 commit comments