%fa:mobile-alt%
@@ -68,7 +71,6 @@ root(isDark)
align-items baseline
margin-bottom 2px
white-space nowrap
- line-height 21px
> .name
display block
@@ -84,6 +86,20 @@ root(isDark)
&:hover
text-decoration underline
+ > .is-admin
+ > .is-bot
+ > .is-cat
+ margin 0 0.5em 0 0
+ padding 1px 5px
+ font-size 10px
+ color isDark ? #758188 : #aaa
+ border solid 1px isDark ? #57616f : #ddd
+ border-radius 3px
+
+ &.is-admin
+ border-color isDark ? #d42c41 : #f56a7b
+ color isDark ? #d42c41 : #f56a7b
+
> .username
margin 0 .5em 0 0
color isDark ? #606984 : #d1d8da
diff --git a/src/client/app/mobile/views/components/note.sub.vue b/src/client/app/mobile/views/components/note.sub.vue
index 2fb3b2ffc..149a78ecd 100644
--- a/src/client/app/mobile/views/components/note.sub.vue
+++ b/src/client/app/mobile/views/components/note.sub.vue
@@ -1,9 +1,13 @@
-
-
+
+
+
{{ note.user | userName }}
+ admin
+ bot
+ cat
%fa:mobile-alt%
@@ -42,6 +46,13 @@ root(isDark)
@media (min-width 600px)
padding 24px 32px
+ &.smart
+ > .main
+ width 100%
+
+ > header
+ align-items center
+
&:after
content ""
display block
@@ -73,6 +84,13 @@ root(isDark)
margin-bottom 2px
white-space nowrap
+ > .avatar
+ flex-shrink 0
+ margin-right 8px
+ width 18px
+ height 18px
+ border-radius 100%
+
> .name
display block
margin 0 0.5em 0 0
@@ -88,6 +106,20 @@ root(isDark)
&:hover
text-decoration underline
+ > .is-admin
+ > .is-bot
+ > .is-cat
+ margin 0 0.5em 0 0
+ padding 1px 5px
+ font-size 10px
+ color isDark ? #758188 : #aaa
+ border solid 1px isDark ? #57616f : #ddd
+ border-radius 3px
+
+ &.is-admin
+ border-color isDark ? #d42c41 : #f56a7b
+ color isDark ? #d42c41 : #f56a7b
+
> .username
text-align left
margin 0
diff --git a/src/client/app/mobile/views/components/note.vue b/src/client/app/mobile/views/components/note.vue
index f947c9de3..de54daa99 100644
--- a/src/client/app/mobile/views/components/note.vue
+++ b/src/client/app/mobile/views/components/note.vue
@@ -290,6 +290,7 @@ root(isDark)
padding 16px 32px
.avatar
+ flex-shrink 0
display inline-block
width 20px
height 20px