Fix color picker positioning when `popupAnchor` is defined

This commit is contained in:
jos 2019-12-18 17:37:25 +01:00
parent f86f3d4e1c
commit 582e0b1fc1
1 changed files with 13 additions and 14 deletions

View File

@ -80,20 +80,6 @@ div {
vertical-align: top;
}
}
div {
&.jsoneditor-anchor {
cursor: pointer;
.picker_wrapper {
&.popup {
&.popup_bottom {
top: 28px;
left: -10px;
}
}
}
}
}
&.busy {
pre {
&.jsoneditor-preview {
@ -554,6 +540,19 @@ pre.jsoneditor-preview,
}
}
.jsoneditor-anchor {
cursor: pointer;
.picker_wrapper {
&.popup {
&.popup_bottom {
top: 28px;
left: -10px;
}
}
}
}
.fadein {
-webkit-animation: fadein 0.3s;
animation: fadein 0.3s;