mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 17:32:15 +03:00
Fixed overflow for portal button
refs https://github.com/TryGhost/members.js/issues/66 - Portal button showed scrollbars in some OS/browsers combination - Hides overflow for portal button as we don't show scroll for any case
This commit is contained in:
parent
322096db5a
commit
9ccbef5db1
@ -25,6 +25,7 @@ const Styles = ({brandColor, hasText}) => {
|
||||
backgroundColor: brandColor,
|
||||
animation: '250ms ease 0s 1 normal none running animation-bhegco',
|
||||
transition: 'opacity 0.3s ease 0s',
|
||||
overflow: 'hidden',
|
||||
...frame
|
||||
},
|
||||
launcher: {
|
||||
@ -52,7 +53,8 @@ const Styles = ({brandColor, hasText}) => {
|
||||
opacity: '1',
|
||||
transform: 'rotate(0deg) scale(1)',
|
||||
height: '100%',
|
||||
transition: 'transform 0.16s linear 0s, opacity 0.08s linear 0s'
|
||||
transition: 'transform 0.16s linear 0s, opacity 0.08s linear 0s',
|
||||
overflow: 'hidden'
|
||||
},
|
||||
userIcon: {
|
||||
width: '20px',
|
||||
|
Loading…
Reference in New Issue
Block a user