mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix profile page CSS (#10406)
* Fix profile page Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove redundant CSS Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix .username and change em to rem Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
		@@ -5,10 +5,18 @@
 | 
			
		||||
 | 
			
		||||
    &.profile {
 | 
			
		||||
        .ui.card {
 | 
			
		||||
            .header,
 | 
			
		||||
            .username {
 | 
			
		||||
                display: block;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            .header {
 | 
			
		||||
                font-weight: 700;
 | 
			
		||||
                font-size: 1.3rem;
 | 
			
		||||
                margin-top: -0.2rem;
 | 
			
		||||
                line-height: 1.3rem;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            .extra.content {
 | 
			
		||||
                padding: 0;
 | 
			
		||||
 | 
			
		||||
@@ -40,6 +48,9 @@
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            #profile-avatar {
 | 
			
		||||
                img {
 | 
			
		||||
                    width: 100%;
 | 
			
		||||
                }
 | 
			
		||||
                @media only screen and (max-width: 768px) {
 | 
			
		||||
                    height: 250px;
 | 
			
		||||
                    overflow: hidden;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user