fix(portal): update non-root layout to use main.css (#9533)

After updating the CSS config to use `main.css` in the portal the root
layout was updated, but there were a small number of one-off templates
that do not use the root layout and those pages were not updated with
the new `main.css` file. This commit updates those non-root templates.

Fixes #9532
This commit is contained in:
Brian Manifold
2025-06-15 08:31:45 -07:00
committed by GitHub
parent c6545fe853
commit 25434c6898
3 changed files with 18 additions and 0 deletions

View File

@@ -17,6 +17,12 @@
nonce={@conn.private.csp_nonce}
href={~p"/assets/app.css"}
/>
<link
phx-track-static
rel="stylesheet"
nonce={@conn.private.csp_nonce}
href={~p"/assets/main.css"}
/>
<script
defer
phx-track-static

View File

@@ -17,6 +17,12 @@
nonce={@conn.private.csp_nonce}
href={~p"/assets/app.css"}
/>
<link
phx-track-static
rel="stylesheet"
nonce={@conn.private.csp_nonce}
href={~p"/assets/main.css"}
/>
<script
defer
phx-track-static

View File

@@ -25,6 +25,12 @@ defmodule Web.SignInHTML do
nonce={@conn.private.csp_nonce}
href={~p"/assets/app.css"}
/>
<link
phx-track-static
rel="stylesheet"
nonce={@conn.private.csp_nonce}
href={~p"/assets/main.css"}
/>
</head>
<body class="bg-neutral-50">
<main class="h-auto pt-16">