(core) Prevent raw table names from overflowing

Summary:
Modifies CSS so that text overflow is handled by displaying an
ellipsis when raw table names exceed the width of their container.

Test Plan: Tested manually.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3524
This commit is contained in:
George Gevoian
2022-07-18 09:24:26 -07:00
parent 3e49fe9a50
commit 5c0a250309
3 changed files with 11 additions and 9 deletions

View File

@@ -1289,7 +1289,7 @@ export async function openRawTable(tableId: string) {
export async function renameRawTable(tableId: string, newName: string) {
await driver.find(`.test-raw-data-table .test-raw-data-table-id-${tableId}`)
.findClosest('.test-raw-data-table')
.find('.test-raw-data-widget-title')
.find('.test-widget-title-text')
.click();
const input = await driver.find(".test-widget-title-table-name-input");
await input.doClear();