diff --git a/.drone.yml b/.drone.yml index 623114f..427ecfc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -53,6 +53,8 @@ steps: - mix hex.audit # Provide hints for improving code quality - mix credo + # Check that translations are up to date + - mix gettext.extract --check-up-to-date - name: wait_for_postgres image: docker.io/library/postgres:17.6 diff --git a/Justfile b/Justfile index b28dbdc..907283f 100644 --- a/Justfile +++ b/Justfile @@ -29,6 +29,7 @@ lint: mix format --check-formatted mix compile --warnings-as-errors mix credo + mix gettext.extract --check-up-to-date audit: mix sobelow --config diff --git a/lib/mv_web/components/core_components.ex b/lib/mv_web/components/core_components.ex index b8fe0fc..6b8684f 100644 --- a/lib/mv_web/components/core_components.ex +++ b/lib/mv_web/components/core_components.ex @@ -56,7 +56,7 @@ defmodule MvWeb.CoreComponents do id={@id} phx-click={JS.push("lv:clear-flash", value: %{key: @kind}) |> hide("##{@id}")} role="alert" - class="toast toast-top toast-end z-50" + class="z-50 toast toast-top toast-end" {@rest} >