diff --git a/app/modules/project/templates/project/inbox.html b/app/modules/project/templates/project/inbox.html index 2c125f0..3099e75 100644 --- a/app/modules/project/templates/project/inbox.html +++ b/app/modules/project/templates/project/inbox.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} @@ -45,5 +45,5 @@ {% endif %} - + {% endblock %} diff --git a/app/modules/project/templates/project/index.html b/app/modules/project/templates/project/index.html index e0b7333..0a81305 100644 --- a/app/modules/project/templates/project/index.html +++ b/app/modules/project/templates/project/index.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} @@ -421,5 +421,5 @@ window.PJ_COLORS = {{ ["#4573d2","#37a3a3","#62a420","#e8a33d","#e8384f","#aa62e3","#f06a6a","#5a6772"] | tojson }}; window.PJ_STAGE_COLORS = {{ ["#4573d2","#37a3a3","#62a420","#e8a33d","#e8384f","#aa62e3","#f06a6a","#5a6772","#e8398a","#a15c43"] | tojson }}; - + {% endblock %} diff --git a/app/modules/project/templates/project/project.html b/app/modules/project/templates/project/project.html index c505259..8133d86 100644 --- a/app/modules/project/templates/project/project.html +++ b/app/modules/project/templates/project/project.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + @@ -544,5 +544,5 @@ - + {% endblock %} diff --git a/app/static/project.css b/app/static/project.css index 1b6e0c3..bb50bee 100644 --- a/app/static/project.css +++ b/app/static/project.css @@ -426,6 +426,9 @@ background: #1e1f21; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; white-space: nowrap; box-shadow: 0 3px 10px rgba(0,0,0,.25); + /* left/top 은 커서 좌표 그대로 — 말풍선 아래-가운데를 그 점에 맞춰 + 커서 바로 위, 가로로는 커서 중앙에 오게 한다. */ + transform: translate(-50%, -100%); } .pj-hovertip[hidden] { display: none; } .pj-mytree-tasks { list-style: none; margin: 2px 0 0; padding: 0 0 0 8px; border-left: 2px solid #eef0f2; margin-left: 10px; } diff --git a/app/static/project.js b/app/static/project.js index 63ce034..8647c28 100644 --- a/app/static/project.js +++ b/app/static/project.js @@ -4440,8 +4440,8 @@ document.body.appendChild(tipEl); } tipEl.textContent = text; - tipEl.style.left = (x + 14) + "px"; - tipEl.style.top = (y + 18) + "px"; + tipEl.style.left = x + "px"; + tipEl.style.top = (y - 10) + "px"; tipEl.hidden = false; } function hide() { if (tipEl) tipEl.hidden = true; }