Skip to content

Commit

Permalink
cleanup: Use Tailwind classes on admin page instead of inline styles
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlarson committed Jan 7, 2025
1 parent b3fd636 commit 51cbdc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dotcom_web/live/admin.ex
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ defmodule DotcomWeb.Live.Admin do

def render(assigns) do
~H"""
<section style="display: grid; gap: .5rem; grid-template-columns: 1fr 1fr 1fr">
<section class="grid gap-2 grid-cols-3">
<%= for feature <- @admin_features do %>
<%= link to: feature.url, class: "btn btn-secondary", style: "white-space: inherit;" do %>
<header class="font-heading font-bold mb-3 text-2xl mt-0">{feature.title}</header>
Expand Down

0 comments on commit 51cbdc2

Please sign in to comment.