mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 00:29:50 +02:00
Make iD's container a local stacking context (close #7457)
Move some inline CSS to the stylesheet
This commit is contained in:
@@ -20,9 +20,6 @@ export function uiCurtain() {
|
||||
surface = selection
|
||||
.append('svg')
|
||||
.attr('class', 'curtain')
|
||||
.style('z-index', 1000)
|
||||
.style('pointer-events', 'none')
|
||||
.style('position', 'absolute')
|
||||
.style('top', 0)
|
||||
.style('left', 0);
|
||||
|
||||
@@ -34,8 +31,7 @@ export function uiCurtain() {
|
||||
d3_select(window).on('resize.curtain', resize);
|
||||
|
||||
tooltip = selection.append('div')
|
||||
.attr('class', 'tooltip')
|
||||
.style('z-index', 1002);
|
||||
.attr('class', 'tooltip');
|
||||
|
||||
tooltip
|
||||
.append('div')
|
||||
|
||||
Reference in New Issue
Block a user