remove padding in prop modal

- caused a vertical scrollbar
- now constructed like the share modal (customModals inside tabs)
This commit is contained in:
David Benqué
2019-12-03 10:11:52 +00:00
parent ee1371c8ba
commit 26c681c3cb
2 changed files with 14 additions and 13 deletions

View File

@@ -4187,16 +4187,7 @@ define([
}
getProperties(el, function (e, $prop) {
if (e) { return void logError(e); }
var modal = UI.dialog.customModal($prop[0], {
buttons: [{
className: 'secondary',
name: Messages.okButton,
onClick: function () {},
keys: [13]
}],
onClose: config.onClose,
});
UI.openCustomModal(modal);
UI.openCustomModal($prop[0]);
});
}
else if ($this.hasClass("cp-app-drive-context-hashtag")) {