mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36: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');
|
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…
Add table
Reference in a new issue