+
{{ $ts.useGlobalSetting }}
{{ $ts.useGlobalSettingDesc }}
-
+
{{ $ts.notificationSettingDesc }}
{{ $ts.disableAll }}
{{ $ts.enableAll }}
diff --git a/src/client/style.scss b/src/client/style.scss
index a02cd1a48a..62e3e3c93e 100644
--- a/src/client/style.scss
+++ b/src/client/style.scss
@@ -336,11 +336,21 @@ hr {
._hr {
margin: var(--margin) calc(var(--root-margin, 32px) * -1);
+ border-top: solid 0.5px var(--divider);
}
@media (max-width: 500px) {
--root-margin: 10px;
}
+
+ & + ._root {
+ &:before {
+ content: "";
+ display: block;
+ margin: var(--root-margin) calc(var(--root-margin, 32px) * -1);
+ border-top: solid 0.5px var(--divider);
+ }
+ }
}
._flat_ {
diff --git a/src/client/ui/_common_/header.vue b/src/client/ui/_common_/header.vue
index 6b09e3122a..347c60f021 100644
--- a/src/client/ui/_common_/header.vue
+++ b/src/client/ui/_common_/header.vue
@@ -99,7 +99,14 @@ export default defineComponent({
},
menu(ev) {
- const menu = this.info.menu ? this.info.menu() : [];
+ let menu = this.info.menu ? this.info.menu() : [];
+ if (!this.showActions && this.info.actions) {
+ menu = [...this.info.actions.map(x => ({
+ text: x.text,
+ icon: x.icon,
+ action: x.handler
+ })), menu.length > 0 ? null : undefined, ...menu];
+ }
if (this.info.share) {
if (menu.length > 0) menu.push(null);
menu.push({