From 95bfe6b7c2dd9aa4e15268c02ef5131298c76fe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Charvet=20=E9=BB=91=E7=93=9C?= Date: Wed, 12 Jun 2024 11:52:57 +0100 Subject: [PATCH] Fix contributor tab css and icons (#325) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Wrap the content into a container * Swap the icons for free ones A few that were missed during https://github.com/beyond-all-reason/teiserver/pull/313 * Apply mix format --------- Co-authored-by: Dominik StaƄczak-Marikin --- .../account/profile/contributor.html.heex | 86 ++++++++++--------- 1 file changed, 44 insertions(+), 42 deletions(-) diff --git a/lib/teiserver_web/live/account/profile/contributor.html.heex b/lib/teiserver_web/live/account/profile/contributor.html.heex index 5cec833f9..c2f2cfe05 100644 --- a/lib/teiserver_web/live/account/profile/contributor.html.heex +++ b/lib/teiserver_web/live/account/profile/contributor.html.heex @@ -12,51 +12,53 @@ } -
-
-

User flag

- <%= if @show_flag_config do %> - You can enter any - - ISO Country code - - and even a few extra ones.

- Your current country code is: "<%= @country_code %>". -

+
+
+
+

User flag

+ <%= if @show_flag_config do %> + You can enter any + + ISO Country code + + and even a few extra ones.

+ Your current country code is: "<%= @country_code %>". +

- + - <%= if @error_message do %> -
- <%= @error_message %> + <%= if @error_message do %> +
+ <%= @error_message %> +
+ <% end %> + +
+ +
+ Revert to <%= @country_code %> +
+     + +
Clear +
+     + +
Save changes +
+ <% else %> + You have currently set your profile to hide your flag and thus cannot select a custom one. To undo this please + settings page + to alter this. <% end %> - -
- -
- Revert to <%= @country_code %> -
-     - -
Clear -
-     - -
Save changes -
-
- <% else %> - You have currently set your profile to hide your flag and thus cannot select a custom one. To undo this please - settings page - to alter this. - <% end %> +