mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Fix flash on dashboard (#30572)
Fixes https://github.com/go-gitea/gitea/issues/30566, regression from https://github.com/go-gitea/gitea/pull/30214.
This commit is contained in:
		@@ -1,8 +1,8 @@
 | 
				
			|||||||
{{template "base/head" .}}
 | 
					{{template "base/head" .}}
 | 
				
			||||||
<div role="main" aria-label="{{.Title}}" class="page-content dashboard feeds">
 | 
					<div role="main" aria-label="{{.Title}}" class="page-content dashboard feeds">
 | 
				
			||||||
	{{template "user/dashboard/navbar" .}}
 | 
						{{template "user/dashboard/navbar" .}}
 | 
				
			||||||
 | 
						{{template "base/alert" .}}
 | 
				
			||||||
	<div class="ui container flex-container">
 | 
						<div class="ui container flex-container">
 | 
				
			||||||
		{{template "base/alert" .}}
 | 
					 | 
				
			||||||
		<div class="flex-container-main">
 | 
							<div class="flex-container-main">
 | 
				
			||||||
			{{template "user/heatmap" .}}
 | 
								{{template "user/heatmap" .}}
 | 
				
			||||||
			{{template "user/dashboard/feeds" .}}
 | 
								{{template "user/dashboard/feeds" .}}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -501,6 +501,12 @@ img.ui.avatar,
 | 
				
			|||||||
  margin-top: calc(var(--page-spacing) - 1rem);
 | 
					  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 textarea,
 | 
				
			||||||
.ui.form .fields.error .field select,
 | 
					.ui.form .fields.error .field select,
 | 
				
			||||||
.ui.form .fields.error .field input:not([type]),
 | 
					.ui.form .fields.error .field input:not([type]),
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user