Skip to content

Commit b515dad

Browse files
committed
improvements
1 parent c3b874e commit b515dad

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

lib/algora_web/live/bounty_live.ex

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ defmodule AlgoraWeb.BountyLive do
330330
</.card_content>
331331
</.card>
332332
<div class="grid grid-cols-2 gap-4">
333-
<.card>
333+
<.card class="flex flex-col items-between justify-center">
334334
<.card_content>
335335
<div class="flex items-center justify-between">
336336
<div>
@@ -384,7 +384,7 @@ defmodule AlgoraWeb.BountyLive do
384384
</div>
385385
</.card_content>
386386
</.card>
387-
<.card class="col">
387+
<.card class="flex flex-col items-between justify-center">
388388
<.card_content>
389389
<div class="flex items-center justify-between">
390390
<div>
@@ -407,7 +407,11 @@ defmodule AlgoraWeb.BountyLive do
407407
/>
408408
</.button>
409409
<% else %>
410-
<span class="underline cursor-pointer" phx-click="exclusive">
410+
<span
411+
:if={@exclusives != []}
412+
class="underline cursor-pointer"
413+
phx-click="exclusive"
414+
>
411415
Add a deadline
412416
</span>
413417
<% end %>

0 commit comments

Comments
 (0)