Improve wish details size on small viewports

This commit is contained in:
grandeljay 2022-12-29 14:48:35 +01:00
parent 5c9ca29f56
commit 3e82e79280

View file

@ -32,6 +32,12 @@ $(function () {
/** Show modal */
wish_details
.modal({
'onVisible' : function() {
/** Dirty hack to change the default display: block to flex. */
setTimeout(() => {
$(this).css('display', '');
}, 1000);
},
'onHide' : function(modal) {
wish_unset();
},