mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Update members iFrame style
This commit is contained in:
parent
0c8af4fa64
commit
481b9d6459
1 changed files with 4 additions and 7 deletions
|
@ -23,13 +23,10 @@ function create(options) {
|
|||
const frame = document.createElement('iframe');
|
||||
frame.style.position = 'fixed';
|
||||
frame.style.display = 'none';
|
||||
frame.style.width = '400px';
|
||||
frame.style.height = '600px';
|
||||
frame.style.background = 'lightgray';
|
||||
frame.style.top = '20vw';
|
||||
frame.style.margin = '0 -200px 0';
|
||||
frame.style.left = '50%';
|
||||
frame.style['z-index'] = '9000';
|
||||
frame.style.width = '100%';
|
||||
frame.style.height = '100%';
|
||||
frame.style.background = 'transparent';
|
||||
frame.style['z-index'] = '9999';
|
||||
frame.src = `${options.blogUrl}/members/auth`;
|
||||
frame.onload = function () {
|
||||
resolve(frame);
|
||||
|
|
Loading…
Add table
Reference in a new issue