diff --git a/assets/css/app.css b/assets/css/app.css index 0417463..ea63a2d 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -1,7 +1,7 @@ /* See the Tailwind configuration guide for advanced usage https://tailwindcss.com/docs/configuration */ -@import "tailwindcss" source(none); +@import "tailwindcss"; @source "../css"; @source "../js"; @source "../../lib/mv_web"; diff --git a/assets/tailwind.config.js b/assets/tailwind.config.js index 873d6d6..d87d46f 100644 --- a/assets/tailwind.config.js +++ b/assets/tailwind.config.js @@ -12,6 +12,7 @@ module.exports = { "../lib/mv_web.ex", "../lib/mv_web/**/*.*ex" ], + safelist: ['h-screen', 'px-6', 'h-screen', 'place-items-center', 'px-20', 'px-24'], // Classes that are used by AshAuthentication Sign-In Page are otherwise purged theme: { extend: { colors: { diff --git a/lib/mv_web/auth_overrides.ex b/lib/mv_web/auth_overrides.ex index bec3354..fab8653 100644 --- a/lib/mv_web/auth_overrides.ex +++ b/lib/mv_web/auth_overrides.ex @@ -14,7 +14,12 @@ defmodule MvWeb.AuthOverrides do # set :text_class, "bg-red-500" # end - # override AshAuthentication.Phoenix.Components.SignIn do - # set :show_banner, false - # end + override AshAuthentication.Phoenix.Components.SignIn do + set :root_class, "min-w-md" + end + + override AshAuthentication.Phoenix.Components.Banner do + set :text, "Mitgliederverwaltung" + set :image_url, nil + end end