mirror of
https://github.com/panatgithub/AnkiHeadingSync.git
synced 2026-07-22 06:51:43 +00:00
fix(settings): enlarge folder tree disclosure arrows
中文: 将插件运行范围文件夹树的展开箭头放大一倍,并补充设置页测试锁定样式。 English: Doubles the folder tree disclosure arrow size in plugin run scope settings and adds a settings test for the style.
This commit is contained in:
parent
23b9b83527
commit
77e6c33a7d
3 changed files with 3 additions and 1 deletions
2
main.js
2
main.js
File diff suppressed because one or more lines are too long
|
|
@ -1325,6 +1325,7 @@ describe("PluginSettingTab", () => {
|
|||
expect(childRow.style.marginLeft).toBe("18px");
|
||||
expect(childToggle.style.width).toBe("24px");
|
||||
expect(childToggle.style.height).toBe("24px");
|
||||
expect(childToggle.style.fontSize).toBe("2em");
|
||||
expect(childCheckbox).toBeDefined();
|
||||
expect(childLabel.style.whiteSpace).toBe("nowrap");
|
||||
expect(childLabel.style.overflow).toBe("hidden");
|
||||
|
|
|
|||
|
|
@ -1395,6 +1395,7 @@ export class AnkiHeadingSyncSettingTab extends PluginSettingTab {
|
|||
toggleControl.style.border = "0";
|
||||
toggleControl.style.background = "transparent";
|
||||
toggleControl.style.boxShadow = "none";
|
||||
toggleControl.style.fontSize = "2em";
|
||||
toggleControl.style.lineHeight = "1";
|
||||
toggleControl.style.color = "var(--text-muted)";
|
||||
if (hasChildren) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue