fix menu popups

This commit is contained in:
JFH
2021-08-15 12:39:12 +02:00
parent 7f46fce845
commit 945569cfab
3 changed files with 7 additions and 11 deletions

View File

@@ -48,16 +48,15 @@ template.innerHTML = `
.button-icon { .button-icon {
} }
.menu { .menu {
position: absolute; position: 'fixed';
top:0px; margin-left: 34px;
left:204px;
background: none !important; background: none !important;
display:none; display:none;
} }
.image-lib { .image-lib {
position: absolute; position: fixed;
top: 0px; left: 34px;
left:34px; top: 30%;
background: #E8E8E8; background: #E8E8E8;
display: none; display: none;
flex-wrap: wrap; flex-wrap: wrap;

View File

@@ -46,10 +46,10 @@ template.innerHTML = `
.button-icon { .button-icon {
} }
.menu { .menu {
position: absolute; position: fixed;
left:32px;
background: none !important; background: none !important;
display:none; display:none;
margin-left: 34px;
} }
.open { .open {
display: flex; display: flex;

View File

@@ -11,7 +11,6 @@ rulersTemplate.innerHTML = `
grid-area: corner; grid-area: corner;
width: 15px; width: 15px;
height: 15px; height: 15px;
z-index: 1;
overflow: hidden; overflow: hidden;
} }
@@ -21,7 +20,6 @@ rulersTemplate.innerHTML = `
height: 15px; height: 15px;
border-bottom: 1px solid; border-bottom: 1px solid;
border-left: 1px solid #777; border-left: 1px solid #777;
z-index: 1;
overflow: hidden; overflow: hidden;
} }
@@ -31,7 +29,6 @@ rulersTemplate.innerHTML = `
width: 15px; width: 15px;
border-right: 1px solid; border-right: 1px solid;
border-top: 1px solid #777; border-top: 1px solid #777;
z-index: 1;
overflow: hidden; overflow: hidden;
} }