vite-plugin-ai-annotator 1.1.12 → 1.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/annotator-toolbar.js +4 -5
- package/dist/index.cjs +34 -34
- package/package.json +1 -1
|
@@ -7695,7 +7695,7 @@
|
|
|
7695
7695
|
if (textareaEl) {
|
|
7696
7696
|
textareaEl.focus();
|
|
7697
7697
|
textareaEl.style.height = "auto";
|
|
7698
|
-
textareaEl.style.height = Math.min(textareaEl.scrollHeight,
|
|
7698
|
+
textareaEl.style.height = Math.min(textareaEl.scrollHeight, 37) + "px";
|
|
7699
7699
|
}
|
|
7700
7700
|
this.popoverCleanup = autoUpdate(element, popoverEl, () => {
|
|
7701
7701
|
computePosition2(element, popoverEl, {
|
|
@@ -7738,7 +7738,7 @@
|
|
|
7738
7738
|
const comment = target.value;
|
|
7739
7739
|
const element = this.commentPopover.element;
|
|
7740
7740
|
target.style.height = "auto";
|
|
7741
|
-
target.style.height = Math.min(target.scrollHeight,
|
|
7741
|
+
target.style.height = Math.min(target.scrollHeight, 37) + "px";
|
|
7742
7742
|
this.commentPopover = { ...this.commentPopover, comment };
|
|
7743
7743
|
if (element) {
|
|
7744
7744
|
const hasComment = comment.trim().length > 0;
|
|
@@ -8092,10 +8092,9 @@
|
|
|
8092
8092
|
|
|
8093
8093
|
.popover-input {
|
|
8094
8094
|
width: 240px;
|
|
8095
|
-
min-height:
|
|
8096
|
-
max-height:
|
|
8095
|
+
min-height: 24px;
|
|
8096
|
+
max-height: 37px;
|
|
8097
8097
|
padding: 8px 12px;
|
|
8098
|
-
padding-bottom: 32px;
|
|
8099
8098
|
border: none;
|
|
8100
8099
|
background: transparent;
|
|
8101
8100
|
color: #fff;
|