[Housekeeping] Upgraded Tailwind to 3.4.3 (#163)
* Upgraded Tailwind * Enabled asset compression in prod
This commit is contained in:
parent
b872c5c20b
commit
4b12764f45
3 changed files with 3 additions and 3 deletions
|
|
@ -85,7 +85,7 @@ config :esbuild,
|
|||
|
||||
# Configure tailwind (the version is required)
|
||||
config :tailwind,
|
||||
version: "3.3.2",
|
||||
version: "3.4.3",
|
||||
default: [
|
||||
args: ~w(
|
||||
--config=tailwind.config.js
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ defmodule PinchflatWeb.CustomComponents.TabComponents do
|
|||
<%= render_slot(@tab_append) %>
|
||||
</div>
|
||||
</header>
|
||||
<div class="mt-4">
|
||||
<div class="mt-4 min-h-96">
|
||||
<div :for={{tab, idx} <- Enum.with_index(@tab)} x-show={"openTab === #{idx}"} class="font-medium leading-relaxed">
|
||||
<%= render_slot(tab) %>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ defmodule PinchflatWeb.Endpoint do
|
|||
plug Plug.Static,
|
||||
at: "/",
|
||||
from: :pinchflat,
|
||||
gzip: false,
|
||||
gzip: Mix.env() == :prod,
|
||||
only: PinchflatWeb.static_paths()
|
||||
|
||||
# Code reloading can be explicitly enabled under the
|
||||
|
|
|
|||
Loading…
Reference in a new issue