Skip to content

Commit 8df4e4d

Browse files
fix: File extension is hidden in file field when editing object in modal dialog in data browser (#2472)
1 parent a3af032 commit 8df4e4d

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

src/dashboard/Data/Browser/Browser.scss

+14
Original file line numberDiff line numberDiff line change
@@ -251,3 +251,17 @@ body:global(.expanded) {
251251
width: calc(100% - 280px);
252252
float: left;
253253
}
254+
255+
.editRowDialogFileCell {
256+
max-width: 100%;
257+
padding: 25px;
258+
span {
259+
display: flex;
260+
span {
261+
width: 90%;
262+
}
263+
& a {
264+
position: relative;
265+
}
266+
}
267+
}

src/dashboard/Data/Browser/EditRowDialog.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ export default class EditRowDialog extends React.Component {
354354
let file = selectedObject[name];
355355
let fileName = file && file.url() ? getFileName(file) : '';
356356
inputComponent = (
357-
<div style={{ padding: '25px' }}>
357+
<div className={[styles.editRowDialogFileCell]}>
358358
{file && <Pill value={fileName} fileDownloadLink={file.url()} />}
359359
<div style={{ cursor: 'pointer' }}>
360360
<Pill

0 commit comments

Comments
 (0)