File tree Expand file tree Collapse file tree 3 files changed +3
-15
lines changed Expand file tree Collapse file tree 3 files changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -391,8 +391,7 @@ polygon.rs-logo-shape,
391
391
392
392
.remotestorage-widget-modal-backdrop {
393
393
display : none;
394
- z-index : 20000000 ;
395
- position : absolute;
394
+ position : fixed;
396
395
top : 0 ;
397
396
bottom : 0 ;
398
397
left : 0 ;
Original file line number Diff line number Diff line change
1
+ < div class ="remotestorage-widget-modal-backdrop "> </ div >
2
+
1
3
<!--
2
4
rs-state-initial
3
5
rs-state-choose
Original file line number Diff line number Diff line change @@ -180,18 +180,6 @@ Widget.prototype = {
180
180
return element ;
181
181
} ,
182
182
183
- /**
184
- * Create the widget's modal backdrop element, add
185
- * styling, and append to DOM
186
- *
187
- * @private
188
- */
189
- createBackdropHtml ( ) {
190
- const backdropEl = document . createElement ( 'div' ) ;
191
- backdropEl . classList . add ( 'remotestorage-widget-modal-backdrop' ) ;
192
- document . body . appendChild ( backdropEl ) ;
193
- } ,
194
-
195
183
/**
196
184
* Sets the `rs-modal` class on the widget element.
197
185
* Done by default for small screens (max-width 420px).
@@ -277,7 +265,6 @@ Widget.prototype = {
277
265
* @param {String } [elementId] - Widget's parent
278
266
*/
279
267
attach ( elementId ) {
280
- this . createBackdropHtml ( )
281
268
const domElement = this . createHtmlTemplate ( ) ;
282
269
283
270
let parentContainerEl ;
You can’t perform that action at this time.
0 commit comments