mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
Update members iFrame style
This commit is contained in:
parent
0c8af4fa64
commit
481b9d6459
@ -23,13 +23,10 @@ function create(options) {
|
|||||||
const frame = document.createElement('iframe');
|
const frame = document.createElement('iframe');
|
||||||
frame.style.position = 'fixed';
|
frame.style.position = 'fixed';
|
||||||
frame.style.display = 'none';
|
frame.style.display = 'none';
|
||||||
frame.style.width = '400px';
|
frame.style.width = '100%';
|
||||||
frame.style.height = '600px';
|
frame.style.height = '100%';
|
||||||
frame.style.background = 'lightgray';
|
frame.style.background = 'transparent';
|
||||||
frame.style.top = '20vw';
|
frame.style['z-index'] = '9999';
|
||||||
frame.style.margin = '0 -200px 0';
|
|
||||||
frame.style.left = '50%';
|
|
||||||
frame.style['z-index'] = '9000';
|
|
||||||
frame.src = `${options.blogUrl}/members/auth`;
|
frame.src = `${options.blogUrl}/members/auth`;
|
||||||
frame.onload = function () {
|
frame.onload = function () {
|
||||||
resolve(frame);
|
resolve(frame);
|
||||||
|
Loading…
Reference in New Issue
Block a user