From 094b0f03247b61ff29e0bf089ada9bfc540dc5b5 Mon Sep 17 00:00:00 2001 From: Vladimir Rubin Date: Wed, 11 Dec 2024 22:22:40 +0200 Subject: [PATCH] style: mix format --- lib/exmr_web/components/layouts/root.html.heex | 2 +- lib/exmr_web/live/exam_live/index.html.heex | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/exmr_web/components/layouts/root.html.heex b/lib/exmr_web/components/layouts/root.html.heex index 1d1e3c9..5682470 100644 --- a/lib/exmr_web/components/layouts/root.html.heex +++ b/lib/exmr_web/components/layouts/root.html.heex @@ -39,7 +39,7 @@ method="delete" class="text-[0.8125rem] leading-6 text-zinc-900 font-semibold hover:text-zinc-700 dark:text-zinc-300 dark:hover:text-zinc-100" > - <%= gettext("Log out") %> + <%= gettext("Log out") %> <% else %> diff --git a/lib/exmr_web/live/exam_live/index.html.heex b/lib/exmr_web/live/exam_live/index.html.heex index ab560ea..4201d2e 100644 --- a/lib/exmr_web/live/exam_live/index.html.heex +++ b/lib/exmr_web/live/exam_live/index.html.heex @@ -1,10 +1,14 @@ <.header> <%= gettext("Listing Exams") %>
- + | - +
<:actions> <.link patch={~p"/exams/new"}> @@ -27,7 +31,7 @@ 0 -> gettext("Today") 1 -> gettext("Tomorrow") x when x > 1 -> "#{x} #{gettext("days left")}" - x when x < 0 -> "#{x*-1} #{gettext("days passed")}" + x when x < 0 -> "#{x * -1} #{gettext("days passed")}" end %>