Mobile: Fix design glitch 🎨
This commit is contained in:
		
							parent
							
								
									2ded8ba858
								
							
						
					
					
						commit
						733b3d8132
					
				
					 1 changed files with 19 additions and 30 deletions
				
			
		| 
						 | 
				
			
			@ -3,7 +3,6 @@ mk-user-preview
 | 
			
		|||
		img.avatar(src={ user.avatar_url + '?thumbnail&size=64' }, alt='avatar')
 | 
			
		||||
	div.main
 | 
			
		||||
		header
 | 
			
		||||
			div.left
 | 
			
		||||
			a.name(href={ CONFIG.url + '/' + user.username })
 | 
			
		||||
				| { user.name }
 | 
			
		||||
			span.username
 | 
			
		||||
| 
						 | 
				
			
			@ -57,19 +56,9 @@ style.
 | 
			
		|||
			width calc(100% - 74px)
 | 
			
		||||
 | 
			
		||||
		> header
 | 
			
		||||
			white-space nowrap
 | 
			
		||||
 | 
			
		||||
			@media (min-width 500px)
 | 
			
		||||
				margin-bottom 2px
 | 
			
		||||
 | 
			
		||||
			&:after
 | 
			
		||||
				content ""
 | 
			
		||||
				display block
 | 
			
		||||
				clear both
 | 
			
		||||
 | 
			
		||||
			> .left
 | 
			
		||||
				float left
 | 
			
		||||
 | 
			
		||||
			> .name
 | 
			
		||||
				display inline
 | 
			
		||||
				margin 0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue