stefangabos / Zebra_Dialog

A small, compact, and highly configurable jQuery plugin for creating beautiful modal dialog boxes
https://stefangabos.github.io/Zebra_Dialog/flat.html
Other
155 stars 67 forks source link

center_buttons property not centering buttons in latest build #32

Closed LukeSavefrogs closed 4 years ago

LukeSavefrogs commented 4 years ago

Problem

Buttons don't center even if center_buttons is set in the configuration object for Zebra_Dialog

Description

The problem is in the latest minified css at line 55-57 (not minified): image

As you can see in the next Screenshot, the ZebraDialog_Buttons class is on the same element as ZebraDialog_Buttons_Centered class:

image

FIX

To fix it, remove the extra space between the two classes on line 55

Before:

.ZebraDialog_Buttons_Centered .ZebraDialog_Buttons {
    text-align: center
}

After:

.ZebraDialog_Buttons_Centered.ZebraDialog_Buttons {
       text-align: center
}
stefangabos commented 4 years ago

Thank you!

LukeSavefrogs commented 4 years ago

Thank you!

Thank you for the quick reply 😁

Do you know when will the fixed version be released on the cdn?

stefangabos commented 4 years ago

done