fix(desktop): keep driver tabs native

This commit is contained in:
t8y2
2026-05-18 23:31:49 +08:00
parent bef78ab70a
commit e7a8ba2a50
2 changed files with 6 additions and 27 deletions
@@ -7,7 +7,6 @@ const source = readFileSync("apps/desktop/src/components/config/DriverStoreDialo
test("driver store uses a macOS-style grouped list presentation", () => {
for (const className of [
"driver-store-page",
"driver-store-segmented",
"driver-store-panel",
"driver-store-list",
"driver-store-row",
@@ -16,3 +15,8 @@ test("driver store uses a macOS-style grouped list presentation", () => {
assert.match(source, new RegExp(className));
}
});
test("driver store keeps native tab styling", () => {
assert.doesNotMatch(source, /driver-store-segmented/);
assert.doesNotMatch(source, /:deep\(\.driver-store-segmented/);
});