Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: File extension is hidden in file field when editing object in modal dialog in data browser #2472

Merged
merged 11 commits into from
Jun 30, 2023
14 changes: 14 additions & 0 deletions src/dashboard/Data/Browser/Browser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -251,3 +251,17 @@ body:global(.expanded) {
width: calc(100% - 280px);
float: left;
}

.editRowDialogFileCell {
max-width: 100%;
padding: 25px;
span {
display: flex;
span {
width: 90%;
}
& a {
position: relative;
}
}
}
2 changes: 1 addition & 1 deletion src/dashboard/Data/Browser/EditRowDialog.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ export default class EditRowDialog extends React.Component {
let file = selectedObject[name];
let fileName = file && file.url() ? getFileName(file) : '';
inputComponent = (
<div style={{ padding: '25px' }}>
<div className={[styles.editRowDialogFileCell]}>
{file && <Pill value={fileName} fileDownloadLink={file.url()} />}
<div style={{ cursor: 'pointer' }}>
<Pill
Expand Down
Loading