From 08b48b2ba6364df913b451192dce2649ce6e444a Mon Sep 17 00:00:00 2001 From: Saurabh Patel Date: Mon, 22 Jul 2019 20:22:35 +0530 Subject: [PATCH] add user avatar to user crawler layout (#7917) --- app/assets/stylesheets/desktop/user.scss | 7 +++++++ app/views/users/show.html.erb | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/desktop/user.scss b/app/assets/stylesheets/desktop/user.scss index cdb584347a1..b951457984d 100644 --- a/app/assets/stylesheets/desktop/user.scss +++ b/app/assets/stylesheets/desktop/user.scss @@ -252,3 +252,10 @@ margin-top: s(1); } } + +.user-crawler { + .username { + margin-left: 5px; + display: inline-block; + } +} diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index c0479dfb048..55f9b38a17c 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -1,4 +1,7 @@ -

<%= @user.username %>

+
+ <%= @user.username %> +

<%= @user.username %>

+
<% unless @restrict_fields %>

<%= raw @user.user_profile.bio_processed %>