try to get rid of vertical scroll

pull/1/head
David Benqué 5 years ago
parent 1da5e8ac3c
commit ee1371c8ba

@ -13,7 +13,7 @@
margin: -3px;
margin-bottom: 6px;
max-height: 130px;
overflow: auto;
overflow-y: auto;
@media screen and (max-height: 515px) {
max-height: unset; // remove double scrollbar
}

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

@ -533,7 +533,7 @@ MessengerUI, Messages) {
Common.getSframeChannel().event('EV_SHARE_OPEN', {
hidden: true
});
$shareBlock.ready(function () { // XXX temporary open share modal on load
$shareBlock.click(function () {
var title = (config.title && config.title.getTitle && config.title.getTitle())
|| (config.title && config.title.defaultName)
|| "";

Loading…
Cancel
Save