mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-29 08:08:34 +08:00
remove the collapse details
This commit is contained in:
@@ -50,36 +50,7 @@ export class ObsidianSettingTab extends PluginSettingTab {
|
||||
|
||||
containerEl.empty();
|
||||
|
||||
// create a collapsible container
|
||||
const collapsible = containerEl.createEl('button', {
|
||||
cls: 'collapsible',
|
||||
text: i18nConfig.GeneralSetting,
|
||||
}, (button) => {
|
||||
button.style.color = "white";
|
||||
button.style.cursor = "pointer";
|
||||
button.style.padding = "18px";
|
||||
button.style.width = "100%";
|
||||
button.style.border = "none";
|
||||
button.style.textAlign = "left";
|
||||
button.style.outline = "none";
|
||||
button.style.fontSize = "15px";
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
|
||||
const content = containerEl.createDiv('content', (div) => {
|
||||
div.style.padding = "0 18px";
|
||||
div.style.display = "none";
|
||||
div.style.overflow = "hidden";
|
||||
div.style.backgroundColor = "var(--background-primary-alt)";
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
collapsible.appendChild(content);
|
||||
|
||||
|
||||
// General Settings
|
||||
containerEl.createEl('h2', { text: i18nConfig.GeneralSetting });
|
||||
|
||||
new Setting(containerEl)
|
||||
|
||||
Reference in New Issue
Block a user