fix(webui): reorder appearance settings and trim preview
This commit is contained in:
1 parent
0ce10533d3
commit
c3403e6a6f
14 files changed
+31
-27
No files matched your search
@@ -103,7 +103,7 @@ for (const width of [390, 1440]) for (const locale of ["en", "zh-CN"]) {
|
||||
await page.goto(fixture("settings", "loaded", "§ion=appearance"));
|
||||
const target = page.locator('[data-settings-section="appearance"]');
|
||||
const ready = async () => {
|
||||
await expect(target.locator("[data-reading-preview-content] strong")).toBeVisible();
|
||||
await expect(target.locator("[data-reading-preview-content] .markdown-content p").first()).toBeVisible();
|
||||
await expect(target.locator("[data-reading-preview-content] .markdown-content p").first()).toHaveCSS("font-size", "24px");
|
||||
await settle(page);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user