Skip to content

Commit

Permalink
touchups
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansalamon committed Oct 4, 2023
1 parent 0813128 commit 5277216
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/haj_web/components/core_components.ex
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ defmodule HajWeb.CoreComponents do

~H"""
<div class="overflow-y-auto px-4 sm:overflow-visible sm:px-0">
<table class={["mt-11", @small && "w-full", @small || "w-[40rem] sm:w-full"]}>
<table class={["mt-6", @small && "w-full", @small || "w-[40rem] sm:w-full"]}>
<thead class="text-[0.8125rem] text-left leading-6 text-zinc-500">
<tr>
<th :for={col <- @col} class={["p-0 pr-6 pb-4 font-normal", Map.get(col, :class, "")]}>
Expand Down Expand Up @@ -583,7 +583,7 @@ defmodule HajWeb.CoreComponents do

~H"""
<div class="overflow-y-auto px-4 sm:overflow-visible sm:px-0">
<table class={["mt-11", @small && "w-full", @small || "w-[40rem] sm:w-full"]}>
<table class={["mt-6", @small && "w-full", @small || "w-[40rem] sm:w-full"]}>
<thead class="text-[0.8125rem] text-left leading-6 text-zinc-500">
<tr>
<th :for={col <- @col} class="p-0 pr-6 pb-4 font-normal"><%= col[:label] %></th>
Expand Down
6 changes: 3 additions & 3 deletions lib/haj_web/live/applications_live/index.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</div>

<div class="flex flex-col">
<dl class="mt-5 mb-2 grid grid-cols-1 gap-5 sm:grid-cols-3">
<dl class="mt-5 hidden grid-cols-3 gap-5 sm:grid">
<div class="overflow-hidden rounded-lg bg-white px-4 py-5 shadow sm:p-6">
<dt class="truncate text-sm font-medium text-gray-500">Antal ansökningar</dt>
<dd class="mt-1 text-3xl font-semibold tracking-tight text-gray-900">
Expand All @@ -25,7 +25,7 @@
</div>
</dl>

<.form :let={_f} for={%{}} as={:filter} phx-change="filter" class="flex gap-2">
<.form :let={_f} for={%{}} as={:filter} phx-change="filter" class="mt-2 flex gap-2">
<.input
type="select"
name="show_group"
Expand All @@ -40,7 +40,7 @@
class="mt-1 flex flex-row items-center rounded-md border border-gray-300 bg-white px-3 py-2 shadow-sm hover:bg-gray-50"
>
<.icon name={:arrow_down_on_square_stack} mini class="h-5 w-5" />
<span class="text-sm">Exportera csv</span>
<span class="sm:text-sm">Exportera csv</span>
</.link>
</.form>

Expand Down

0 comments on commit 5277216

Please sign in to comment.