mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-02 21:08:01 +08:00
Fix hint position for checkboxes (#2834)
This commit is contained in:
parent
4c4fae820f
commit
77d3ff885f
|
@ -727,10 +727,17 @@ div.message-panel:hover .message-panel-commands {
|
||||||
/* Position the tooltip text */
|
/* Position the tooltip text */
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
margin-left: -60px;
|
|
||||||
margin-top: -30px;
|
margin-top: -30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.link-hint-a {
|
||||||
|
margin-left: -60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.link-hint-input {
|
||||||
|
margin-left: -30px;
|
||||||
|
}
|
||||||
|
|
||||||
.link-hint .pending { color: hsla(0, 0%, 0%, 0.2); }
|
.link-hint .pending { color: hsla(0, 0%, 0%, 0.2); }
|
||||||
|
|
||||||
/* Tooltip arrow */
|
/* Tooltip arrow */
|
||||||
|
|
|
@ -786,6 +786,12 @@ LinkHints.prototype.deployHintContainers = function() {
|
||||||
|
|
||||||
hint.pendingSpan.classList.add("pending");
|
hint.pendingSpan.classList.add("pending");
|
||||||
hint.container.classList.add("link-hint");
|
hint.container.classList.add("link-hint");
|
||||||
|
if (hint.parent.nodeName === "INPUT"){
|
||||||
|
hint.container.classList.add("link-hint-input");
|
||||||
|
} else {
|
||||||
|
hint.container.classList.add("link-hint-a");
|
||||||
|
}
|
||||||
|
|
||||||
hint.container.classList.add("nodisplay"); // hide by default
|
hint.container.classList.add("nodisplay"); // hide by default
|
||||||
hint.container.dataset.code = codeCounter.toString(); // not really needed, more for debug
|
hint.container.dataset.code = codeCounter.toString(); // not really needed, more for debug
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user