Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore(sql-editor): text should not wrap to new line if too long (#7706)
Liu Ji70de06fbda58
diff --git a/frontend/src/views/sql-editor/AsidePanel/SheetList/SheetItem.vue b/frontend/src/views/sql-editor/AsidePanel/SheetList/SheetItem.vueindex 788380e7ea..236edcfb3e 100644--- a/frontend/src/views/sql-editor/AsidePanel/SheetList/SheetItem.vue+++ b/frontend/src/views/sql-editor/AsidePanel/SheetList/SheetItem.vue@@ -7,7 +7,7 @@@contextmenu="$emit('contextmenu', item, $event)"><SheetConnectionIcon :sheet="item.target" class="shrink-0 w-4 h-6" />- <div class="flex-1 text-sm leading-6 cursor-pointer break-all">+ <div class="flex-1 text-sm leading-6 cursor-pointer truncate"><!-- eslint-disable-next-line vue/no-v-html --><span v-if="item.target.title" v-html="titleHTML(item, keyword)" /><span v-else>@@ -64,7 +64,6 @@ const unsaved = computed(() => {if (tab) {return !tab.isSaved;}- console.assert(false, "should never reach this line");return false;});</script>diff --git a/frontend/src/views/sql-editor/AsidePanel/SheetList/TabItem.vue b/frontend/src/views/sql-editor/AsidePanel/SheetList/TabItem.vueindex 97bdd44ced..ec44597d61 100644--- a/frontend/src/views/sql-editor/AsidePanel/SheetList/TabItem.vue+++ b/frontend/src/views/sql-editor/AsidePanel/SheetList/TabItem.vue@@ -7,7 +7,7 @@><SheetConnectionIcon :tab="item.target" class="shrink-0 w-4 h-6" />- <div class="flex-1 text-sm leading-6 cursor-pointer break-all">+ <div class="flex-1 text-sm leading-6 cursor-pointer truncate"><!-- eslint-disable-next-line vue/no-v-html --><span v-html="titleHTML(item, keyword)" /></div>