Mobile: Fix design glitch 🎨

This commit is contained in:
syuilo 2017-01-06 02:04:00 +09:00
parent 2ded8ba858
commit 733b3d8132

View File

@ -3,7 +3,6 @@ mk-user-preview
img.avatar(src={ user.avatar_url + '?thumbnail&size=64' }, alt='avatar') img.avatar(src={ user.avatar_url + '?thumbnail&size=64' }, alt='avatar')
div.main div.main
header header
div.left
a.name(href={ CONFIG.url + '/' + user.username }) a.name(href={ CONFIG.url + '/' + user.username })
| { user.name } | { user.name }
span.username span.username
@ -57,19 +56,9 @@ style.
width calc(100% - 74px) width calc(100% - 74px)
> header > header
white-space nowrap
@media (min-width 500px) @media (min-width 500px)
margin-bottom 2px margin-bottom 2px
&:after
content ""
display block
clear both
> .left
float left
> .name > .name
display inline display inline
margin 0 margin 0