change css on mobile to make multiple buttons happy
This commit is contained in:
parent
b877228415
commit
d8ab054da1
|
@ -2156,6 +2156,9 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
|
||||||
importExportDiv.createEl("h2", {
|
importExportDiv.createEl("h2", {
|
||||||
text: t("settings_importexport"),
|
text: t("settings_importexport"),
|
||||||
});
|
});
|
||||||
|
if (Platform.isMobile) {
|
||||||
|
importExportDiv.addClass("setting-need-wrapping-mobile");
|
||||||
|
}
|
||||||
|
|
||||||
new Setting(importExportDiv)
|
new Setting(importExportDiv)
|
||||||
.setName(t("settings_export"))
|
.setName(t("settings_export"))
|
||||||
|
|
|
@ -74,3 +74,7 @@
|
||||||
color: red;
|
color: red;
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.setting-need-wrapping-mobile .setting-item-control {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue