mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	UI: Dashboard tweaks (#5974)
- Don't show divider below heatmap when it's hidden via media-query - Make divider between user menu adhere to container width - Remove excessiv margins on heatmap
This commit is contained in:
		
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -598,10 +598,9 @@ footer {
 | 
			
		||||
    margin-bottom: 2px !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#user-heatmap{
 | 
			
		||||
#user-heatmap {
 | 
			
		||||
    width: 107%; // Fixes newest contributions not showing
 | 
			
		||||
    text-align: center;
 | 
			
		||||
    margin: 40px 0 30px;
 | 
			
		||||
 | 
			
		||||
    svg:not(:root) {
 | 
			
		||||
        overflow: inherit;
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
	<div class="ui container">
 | 
			
		||||
		{{template "base/alert" .}}
 | 
			
		||||
		<div class="ui mobile reversed stackable grid">
 | 
			
		||||
			<div class="ten wide column">
 | 
			
		||||
			<div class="ui container ten wide column">
 | 
			
		||||
				{{if .EnableHeatmap}}
 | 
			
		||||
					<div id="user-heatmap" style="padding-right: 40px">
 | 
			
		||||
						<activity-heatmap :locale="locale" :suburl="suburl" :user="heatmapUser">
 | 
			
		||||
@@ -12,8 +12,8 @@
 | 
			
		||||
								<div class="ui active centered inline indeterminate text loader" id="loading-heatmap">{{.i18n.Tr "user.heatmap.loading"}}</div>
 | 
			
		||||
							</div>
 | 
			
		||||
						</activity-heatmap>
 | 
			
		||||
					</div>
 | 
			
		||||
						<div class="ui divider"></div>
 | 
			
		||||
					</div>
 | 
			
		||||
				{{end}}
 | 
			
		||||
				{{template "user/dashboard/feeds" .}}
 | 
			
		||||
			</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user