0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fixed signup form minimal width in preview

no issue
This commit is contained in:
Simon Backx 2023-06-05 18:10:19 +02:00
parent 1e7b658148
commit ab0c33346d

View file

@ -103,7 +103,7 @@ export default class SignupFormEmbedModal extends Component {
if (preview) {
if (this.style === 'minimal') {
style = 'max-width: 500px;position: absolute; left: 50%; top:50%; transform: translate(-50%, -50%);';
style = 'max-width: 400px;width: 100%;position: absolute; left: 50%; top:50%; transform: translate(-50%, -50%);';
} else {
style = 'height: 100vh';
}