diff options
Diffstat (limited to '')
-rw-r--r-- | static/script.js | 5 | ||||
-rw-r--r-- | static/style.css | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/static/script.js b/static/script.js index 5e95e56e..988ecfb8 100644 --- a/static/script.js +++ b/static/script.js @@ -587,7 +587,10 @@ function open_popup(popup) { popup.classList.add("visible"); let element = document.getElementById(popup.id.substr(5)) let root = document.body; - let offsetX = 0, offsetY = 0; + /* start <X, Y> sets offset between top left corner + of event in calendar and popup. 10, 10 soo old + event is still visible */ + let offsetX = 10, offsetY = 10; while (element !== root) { offsetX += element.offsetLeft; offsetY += element.offsetTop; diff --git a/static/style.css b/static/style.css index 05a75c1c..23561a73 100644 --- a/static/style.css +++ b/static/style.css @@ -683,6 +683,7 @@ along with their colors. display: flex; background-color: #dedede; color: black; + font-size: 80%; /* overflow-y: auto; */ max-width: 60ch; |