Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Add 2px to prevent jiggling upon entering the text
Tianzhou Chen816c6a36b327
diff --git a/frontend/src/bbkit/BBAutoResize.vue b/frontend/src/bbkit/BBAutoResize.vueindex 0486c10cfb..4471049a20 100644--- a/frontend/src/bbkit/BBAutoResize.vue+++ b/frontend/src/bbkit/BBAutoResize.vue@@ -17,7 +17,8 @@ export default {control.value.setAttribute("style","height",- `${control.value.scrollHeight}px`+ // Extra 2px is to prevent jiggling upon entering the text+ `${control.value.scrollHeight + 2}px`);});});@@ -25,7 +26,7 @@ export default {const resize = (e: Event) => {const target = e.target as HTMLTextAreaElement;target.style.height = "auto";- target.style.height = `${target.scrollHeight}px`;+ target.style.height = `${target.scrollHeight + 2}px`;};return {