mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-22 13:16:57 +01:00
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')
|
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
|
||||||
|
|
Loading…
Reference in a new issue