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,
391391
392392.remotestorage-widget-modal-backdrop {
393393 display : none;
394- z-index : 20000000 ;
395- position : absolute;
394+ position : fixed;
396395 top : 0 ;
397396 bottom : 0 ;
398397 left : 0 ;
Original file line number Diff line number Diff line change 1+ < div class ="remotestorage-widget-modal-backdrop "> </ div >
2+
13<!--
24 rs-state-initial
35 rs-state-choose
Original file line number Diff line number Diff line change @@ -180,18 +180,6 @@ Widget.prototype = {
180180 return element ;
181181 } ,
182182
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-
195183 /**
196184 * Sets the `rs-modal` class on the widget element.
197185 * Done by default for small screens (max-width 420px).
@@ -277,7 +265,6 @@ Widget.prototype = {
277265 * @param {String } [elementId] - Widget's parent
278266 */
279267 attach ( elementId ) {
280- this . createBackdropHtml ( )
281268 const domElement = this . createHtmlTemplate ( ) ;
282269
283270 let parentContainerEl ;
You can’t perform that action at this time.
0 commit comments