Enhance aesthetics of popup element.

This commit is contained in:
Aljaž Grilc 2024-03-21 11:17:03 +01:00
parent 73d7706749
commit 02eb1a22e0
2 changed files with 5 additions and 3 deletions

View File

@ -830,6 +830,10 @@ class BesPopupEl extends HTMLElement {
.bes-toolbar button { .bes-toolbar button {
margin-right: 2px; margin-right: 2px;
} }
.bes-popup-title {
flex-grow: 1;
cursor: grab;
}
.bes-text-div{ .bes-text-div{
background-color: white; background-color: white;
padding: 10px; padding: 10px;
@ -858,6 +862,7 @@ class BesPopupEl extends HTMLElement {
</style> </style>
<div class="bes-popup-container"> <div class="bes-popup-container">
<div class="bes-toolbar"> <div class="bes-toolbar">
<div class="bes-popup-title">Besana</div>
<button class="bes-close-btn" onclick="BesPopupEl.hide()">X</button> <button class="bes-close-btn" onclick="BesPopupEl.hide()">X</button>
</div> </div>
<div class="bes-text-div"> <div class="bes-text-div">

View File

@ -5,9 +5,6 @@
z-index: 2; z-index: 2;
cursor: text; cursor: text;
pointer-events: none; pointer-events: none;
/* text-decoration: underline;
text-decoration-color: red;
cursor: text; */
} }
.bes-correction-panel-parent { .bes-correction-panel-parent {