From 2ecd8ced056ce442bd5af6d36c6e9a330a0477fd Mon Sep 17 00:00:00 2001 From: 2S00B5 Date: Sun, 12 Jan 2025 22:32:49 +0530 Subject: [PATCH 1/2] Issue resolved --- app/assets/stylesheets/users.scss | 5 +++++ app/views/users/show.html.erb | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/users.scss b/app/assets/stylesheets/users.scss index 91f6c0f0c..9ac61c56b 100644 --- a/app/assets/stylesheets/users.scss +++ b/app/assets/stylesheets/users.scss @@ -43,6 +43,11 @@ } } +.reducegap { + font-weight: bold; + margin-bottom:-20px; +} + .profile-text { padding: 0.125em; line-height: 1.5; diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 686d4a7c3..8c0a91b54 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -5,8 +5,9 @@ <% if moderator? && deleted_user?(@user) %> <%= render 'deleted', user: @user %> <% end %> - +

<%= rtl_safe_username(@user) %>

+
<% if @user.community_user.suspended? %>
From fa229d2c950c4fd5c802c2ce1794e43f0734ac8f Mon Sep 17 00:00:00 2001 From: 2S00B5 Date: Mon, 13 Jan 2025 17:29:26 +0530 Subject: [PATCH 2/2] Review implemented --- app/assets/stylesheets/users.scss | 4 ---- app/views/users/show.html.erb | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/assets/stylesheets/users.scss b/app/assets/stylesheets/users.scss index 9ac61c56b..867e962e3 100644 --- a/app/assets/stylesheets/users.scss +++ b/app/assets/stylesheets/users.scss @@ -43,10 +43,6 @@ } } -.reducegap { - font-weight: bold; - margin-bottom:-20px; -} .profile-text { padding: 0.125em; diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 8c0a91b54..74b437178 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -5,9 +5,7 @@ <% if moderator? && deleted_user?(@user) %> <%= render 'deleted', user: @user %> <% end %> -

<%= rtl_safe_username(@user) %>

-
<% if @user.community_user.suspended? %>
@@ -23,7 +21,7 @@
-
+

<% if @user.website.present? %>