From 02be2e31c746bd21405da67c55d9a648b516600a Mon Sep 17 00:00:00 2001 From: Ethan Barker Date: Wed, 16 Feb 2022 15:53:37 -0800 Subject: [PATCH] condense lobby names and titles, styling --- assets/css/phoenix.css | 5 +++++ lib/dream_up_web/live/lobby_live.html.leex | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/assets/css/phoenix.css b/assets/css/phoenix.css index 264f680..5538534 100644 --- a/assets/css/phoenix.css +++ b/assets/css/phoenix.css @@ -653,4 +653,9 @@ select { .instruction-fixed button { height: 38px !important; +} + +.player-title { + /* color: black !important; */ + font-size: 13px !important; } \ No newline at end of file diff --git a/lib/dream_up_web/live/lobby_live.html.leex b/lib/dream_up_web/live/lobby_live.html.leex index 87490f5..e700ddf 100644 --- a/lib/dream_up_web/live/lobby_live.html.leex +++ b/lib/dream_up_web/live/lobby_live.html.leex @@ -37,15 +37,14 @@ text-4xl py-2 font-bold max-w-full text-center max-w-lg bg-<%= player.team %>-100 border-b-4 border-indigo-400"> <%= if player.game_admin do %> - crown +

crown Game Admin

<% end %> <%= if player.team_leader === player.team do %> - <%= player.team %> flag +

<%= player.team %> flag <%= String.capitalize(player.team) %> Team Leader

<% end %> - <%= player.name %>
-

<%= player.team %> team

-

<%= player.character %>

+

<%= player.name %> - <%= String.capitalize(player.team) %> Team

+ <%= if player.id == @id do %> <%= if @editing do %> <%= p = form_for @changeset, "#",