0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Added width:100% to minimal signup form CSS

no issue

Otherwise the auto margin would cause issues in a grid or flex container.
This commit is contained in:
Simon Backx 2023-06-09 11:08:14 +02:00
parent 66840cda0a
commit ffa6c9c5f8

View file

@ -96,7 +96,7 @@ export default class SignupFormEmbedModal extends Component {
options[`label-${i + 1}`] = label.name;
}
let style = 'min-height: 58px; max-width: 440px; margin: 0 auto;';
let style = 'min-height: 58px;max-width: 440px;margin: 0 auto;width: 100%';
if (this.style === 'all-in-one') {
// We serve twice the size of the icon to support high resolution screens
@ -108,7 +108,7 @@ export default class SignupFormEmbedModal extends Component {
options['background-color'] = this.backgroundColor;
options['text-color'] = textColorForBackgroundColor(this.backgroundColor).hex();
style = 'height: 40vmin; min-height: 360px;';
style = 'height: 40vmin;min-height: 360px';
}
if (preview) {