change css on mobile to make multiple buttons happy

This commit is contained in:
fyears 2024-04-05 11:49:55 +08:00
parent b877228415
commit d8ab054da1
2 changed files with 7 additions and 0 deletions

View File

@ -2156,6 +2156,9 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
importExportDiv.createEl("h2", {
text: t("settings_importexport"),
});
if (Platform.isMobile) {
importExportDiv.addClass("setting-need-wrapping-mobile");
}
new Setting(importExportDiv)
.setName(t("settings_export"))

View File

@ -74,3 +74,7 @@
color: red;
font-weight: bolder;
}
.setting-need-wrapping-mobile .setting-item-control {
flex-wrap: wrap;
}