Skip to content

Commit

Permalink
index type tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
michelson committed Jul 1, 2024
1 parent e3a876f commit 0aa9969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/home/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<div class="relative- z-10 flex flex-col md:flex-row items-center md:items-start absolute bottom-0">
<%= link_to article_path(post) do %>
<div class="w-full md:w-2/3 p-4">
<h1 class="text-4xl font-bold mb-4"><%= post.title %></h1>
<h1 class="text-4xl font-bold mb-4 bg-default p-1"><%= post.title %></h1>
<p class="text-lg mb-4">
<%= t("articles.by") %> <%= link_to post.user.username, user_path(post.user.username), class: "link" %> · <%= l post.created_at, format: :long_with_day %>.
</p>
Expand Down

0 comments on commit 0aa9969

Please sign in to comment.