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 */ /** Show modal */
wish_details wish_details
.modal({ .modal({
'onVisible' : function() {
/** Dirty hack to change the default display: block to flex. */
setTimeout(() => {
$(this).css('display', '');
}, 1000);
},
'onHide' : function(modal) { 'onHide' : function(modal) {
wish_unset(); wish_unset();
}, },