Browse Source

compliance

pagy
pvincent 10 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] Tailwind CSS
* [x] plugin for completion * [x] plugin for completion
* [x] Rails Live Reload * [x] Rails Live Reload
* [x] compliant with Tailwind
* [x] compliance with Tailwind

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

@ -12,7 +12,7 @@
</head> </head>
<body> <body>
<main class="container mx-auto mt-28 px-5 flex">
<main class="m-8 flex">
<%= yield %> <%= yield %>
</main> </main>
</body> </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? %> <% 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> <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 %> <% 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" %> <%= link_to "New score", new_score_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>
</div> </div>
<div id="scores" class="min-w-full bg-yellow-600">
<div id="scores" class="min-w-full ">
<%= render @scores %> <%= render @scores %>
</div> </div>
</div> </div>
Loading…
Cancel
Save