Browse Source

compliance

main
pvincent 4 months ago
parent
commit
2e5aa6bc1a
  1. 2
      README.md
  2. 2
      app/views/layouts/application.html.erb
  3. 4
      app/views/scores/index.html.erb

2
README.md

@ -49,5 +49,5 @@ end
* [x] Tailwind CSS
* [x] plugin for completion
* [x] Rails Live Reload
* [x] compliant with Tailwind
* [x] compliance with Tailwind

2
app/views/layouts/application.html.erb

@ -12,7 +12,7 @@
</head>
<body>
<main class="container mx-auto mt-28 px-5 flex">
<main class="m-8 flex">
<%= yield %>
</main>
</body>

4
app/views/scores/index.html.erb

@ -1,4 +1,4 @@
<div class="w-full">
<div class="w-full bg-yellow-300">
<% if notice.present? %>
<p class="py-2 px-3 bg-green-50 mb-5 text-green-500 font-medium rounded-lg inline-block" id="notice"><%= notice %></p>
<% end %>
@ -8,7 +8,7 @@
<%= link_to "New score", new_score_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>
</div>
<div id="scores" class="min-w-full bg-yellow-600">
<div id="scores" class="min-w-full ">
<%= render @scores %>
</div>
</div>
Loading…
Cancel
Save