mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-28 16:09:17 +00:00
fix(grid): prevent toolbar overlap
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { readFileSync } from "node:fs";
|
||||
import { strict as assert } from "node:assert";
|
||||
import test from "node:test";
|
||||
|
||||
const source = readFileSync("apps/desktop/src/components/grid/DataGrid.vue", "utf8");
|
||||
|
||||
test("data grid toolbar keeps a minimum content width", () => {
|
||||
assert.match(source, /class="data-grid-topbar flex items-stretch/);
|
||||
assert.match(source, /\.data-grid-topbar\s*\{\s*min-width: 760px;/s);
|
||||
});
|
||||
Reference in New Issue
Block a user