0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Refined popup width

This commit is contained in:
Peter Zimon 2020-07-22 17:15:33 +02:00
parent aaf37d046c
commit d649605f22

View file

@ -9,20 +9,20 @@ const React = require('react');
const StylesWrapper = ({member}) => { const StylesWrapper = ({member}) => {
const isPaidMember = (member && member.paid); const isPaidMember = (member && member.paid);
const accountHome = isPaidMember ? { const accountHome = isPaidMember ? {
width: '418px', width: '428px',
minHeight: '650px', minHeight: '650px',
maxHeight: '700px' maxHeight: '700px'
} : { } : {
width: '418px', width: '428px',
minHeight: '330px', minHeight: '330px',
maxHeight: '330px' maxHeight: '330px'
}; };
const accountProfile = isPaidMember ? { const accountProfile = isPaidMember ? {
width: '418px', width: '428px',
minHeight: '320px', minHeight: '320px',
maxHeight: '320px' maxHeight: '320px'
} : { } : {
width: '418px', width: '428px',
minHeight: '380px', minHeight: '380px',
maxHeight: '380px' maxHeight: '380px'
}; };
@ -45,7 +45,7 @@ const StylesWrapper = ({member}) => {
position: 'relative', position: 'relative',
padding: '0', padding: '0',
outline: '0', outline: '0',
width: '418px', width: '428px',
borderRadius: '5px', borderRadius: '5px',
boxShadow: '0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06), 0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086), 0 100px 80px rgba(0, 0, 0, 0.12)', boxShadow: '0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06), 0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086), 0 100px 80px rgba(0, 0, 0, 0.12)',
opacity: '1', opacity: '1',
@ -70,7 +70,7 @@ const StylesWrapper = ({member}) => {
minHeight: '130px' minHeight: '130px'
}, },
accountPlan: { accountPlan: {
width: '418px', width: '428px',
minHeight: '290px', minHeight: '290px',
maxHeight: '290px' maxHeight: '290px'
}, },