mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Rework button styles on repo and commit page (#3104)
This commit is contained in:
		
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -152,11 +152,13 @@ pre, code {
 | 
			
		||||
        box-shadow: none;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /* overide semantic selector '.ui.menu:not(.vertical) .item > .button' */
 | 
			
		||||
    .menu:not(.vertical) .item .button {
 | 
			
		||||
        padding-bottom: .78571429em;
 | 
			
		||||
        padding-top: .78571429em;
 | 
			
		||||
        font-size: 1em;
 | 
			
		||||
    /* Overide semantic selector '.ui.menu:not(.vertical) .item > .button' */
 | 
			
		||||
    /* This fixes the commit graph button on the commits page */
 | 
			
		||||
    .menu:not(.vertical) .item > .button.compact {
 | 
			
		||||
        padding: .58928571em 1.125em;
 | 
			
		||||
    }
 | 
			
		||||
    .menu:not(.vertical) .item > .button.small {
 | 
			
		||||
        font-size: .92857143rem;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .text {
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@
 | 
			
		||||
		<div class="ui secondary menu">
 | 
			
		||||
		{{template "repo/branch_dropdown" .}}
 | 
			
		||||
			<div class="fitted item">
 | 
			
		||||
				<a href="{{.RepoLink}}/graph" class="ui basic small button">
 | 
			
		||||
				<a href="{{.RepoLink}}/graph" class="ui basic small compact button">
 | 
			
		||||
					<span class="text">
 | 
			
		||||
						<i class="octicon octicon-git-branch"></i>
 | 
			
		||||
					</span>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user