Change the tight_container breakpoint
[MAILPOET-2964]
This commit is contained in:
@@ -22,7 +22,7 @@ jQuery(($) => {
|
|||||||
* @param form jQuery object of form form.mailpoet_form
|
* @param form jQuery object of form form.mailpoet_form
|
||||||
*/
|
*/
|
||||||
function checkFormContainer(form) {
|
function checkFormContainer(form) {
|
||||||
if (form.width() < 500) {
|
if (form.width() < 400) {
|
||||||
form.addClass('mailpoet_form_tight_container');
|
form.addClass('mailpoet_form_tight_container');
|
||||||
} else {
|
} else {
|
||||||
form.removeClass('mailpoet_form_tight_container');
|
form.removeClass('mailpoet_form_tight_container');
|
||||||
|
Reference in New Issue
Block a user