Improve wish details size on small viewports
This commit is contained in:
parent
5c9ca29f56
commit
3e82e79280
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue