Skip to content

Commit dd2aaad

Browse files
authored
Fix flash message for flex-container (#30657)
1 parent 9b7af43 commit dd2aaad

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

templates/admin/layout_head.tmpl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
{{template "base/head" .ctxData}}
22
<div role="main" aria-label="{{.ctxData.Title}}" class="page-content {{.pageClass}}">
3-
<div class="ui container">
4-
{{template "base/alert" .ctxData}}
5-
</div>
63
<div class="ui container fluid padded flex-container">
74
{{template "admin/navbar" .ctxData}}
85
<div class="flex-container-main">
6+
{{template "base/alert" .ctxData}}
97
{{/* block: admin-setting-content */}}
108

119
{{if false}}{{/* to make html structure "likely" complete to prevent IDE warnings */}}

templates/user/dashboard/dashboard.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{{template "base/head" .}}
22
<div role="main" aria-label="{{.Title}}" class="page-content dashboard feeds">
33
{{template "user/dashboard/navbar" .}}
4-
{{template "base/alert" .}}
54
<div class="ui container flex-container">
65
<div class="flex-container-main">
6+
{{template "base/alert" .}}
77
{{template "user/heatmap" .}}
88
{{template "user/dashboard/feeds" .}}
99
</div>

web_src/css/base.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -495,12 +495,6 @@ img.ui.avatar,
495495
margin-top: calc(var(--page-spacing) - 1rem);
496496
}
497497

498-
/* add horizontal margin to elements that are outside top-level of .flex-container or .ui.container */
499-
.page-content > .flash-message {
500-
margin-left: var(--page-margin-x);
501-
margin-right: var(--page-margin-x);
502-
}
503-
504498
.ui.form .fields.error .field textarea,
505499
.ui.form .fields.error .field select,
506500
.ui.form .fields.error .field input:not([type]),

0 commit comments

Comments
 (0)