mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -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:
parent
66840cda0a
commit
ffa6c9c5f8
1 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ export default class SignupFormEmbedModal extends Component {
|
||||||
options[`label-${i + 1}`] = label.name;
|
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') {
|
if (this.style === 'all-in-one') {
|
||||||
// We serve twice the size of the icon to support high resolution screens
|
// 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['background-color'] = this.backgroundColor;
|
||||||
options['text-color'] = textColorForBackgroundColor(this.backgroundColor).hex();
|
options['text-color'] = textColorForBackgroundColor(this.backgroundColor).hex();
|
||||||
|
|
||||||
style = 'height: 40vmin; min-height: 360px;';
|
style = 'height: 40vmin;min-height: 360px';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (preview) {
|
if (preview) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue