style: mix format
This commit is contained in:
parent
4ef23a5ec9
commit
9a41ca7e98
1 changed files with 4 additions and 1 deletions
|
@ -87,7 +87,10 @@
|
||||||
<%= for day <- 1..Date.days_in_month(@current_month) do %>
|
<%= for day <- 1..Date.days_in_month(@current_month) do %>
|
||||||
<% {:ok, date} = Date.new(@current_month.year, @current_month.month, day) %>
|
<% {:ok, date} = Date.new(@current_month.year, @current_month.month, day) %>
|
||||||
|
|
||||||
<div class={["border rounded p-3 dark:border-zinc-400", @current_month == date && "bg-zinc-200 dark:bg-zinc-800"]}>
|
<div class={[
|
||||||
|
"border rounded p-3 dark:border-zinc-400",
|
||||||
|
@current_month == date && "bg-zinc-200 dark:bg-zinc-800"
|
||||||
|
]}>
|
||||||
<div class="text-sm font-bold">{day}</div>
|
<div class="text-sm font-bold">{day}</div>
|
||||||
|
|
||||||
<!-- Render events for the current day -->
|
<!-- Render events for the current day -->
|
||||||
|
|
Loading…
Reference in a new issue