aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/user/dashboard/dashboard.tmpl2
-rw-r--r--web_src/css/base.css6
2 files changed, 7 insertions, 1 deletions
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl
index 030fd49940..415423d436 100644
--- a/templates/user/dashboard/dashboard.tmpl
+++ b/templates/user/dashboard/dashboard.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" class="page-content dashboard feeds">
{{template "user/dashboard/navbar" .}}
+ {{template "base/alert" .}}
<div class="ui container flex-container">
- {{template "base/alert" .}}
<div class="flex-container-main">
{{template "user/heatmap" .}}
{{template "user/dashboard/feeds" .}}
diff --git a/web_src/css/base.css b/web_src/css/base.css
index 831044756f..0dae25506a 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -501,6 +501,12 @@ img.ui.avatar,
margin-top: calc(var(--page-spacing) - 1rem);
}
+/* add horizontal margin to elements that are outside top-level of .flex-container or .ui.container */
+.page-content > .flash-message {
+ margin-left: var(--page-margin-x);
+ margin-right: var(--page-margin-x);
+}
+
.ui.form .fields.error .field textarea,
.ui.form .fields.error .field select,
.ui.form .fields.error .field input:not([type]),