Skip to content

Commit

Permalink
add bottom margin to page containers
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwwhiterabbit committed Aug 21, 2024
1 parent 1d8a644 commit 26d1b5a
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion app/views/assertions/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<%= render 'layouts/flash' %>

<% content_for :title, "Assertions" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/assertions/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 md:w-2/3 w-full">
<div class="container px-6 mx-auto mt-10 mb-10 md:w-2/3 w-full">
<h1 class="font-bold text-4xl text-gray-900 dark:text-gray-100">New assertion</h1>

<%= render "form", assertion: @assertion %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/assertions/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<div class="mx-auto">
<%= render 'layouts/flash' %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/compare/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- app/views/model_versions/index.html.erb -->
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<% if @prompts.empty? || @model_versions.empty? %>
<div class="flex items-center justify-center h-full">
<p class="text-gray-500 text-center text-gray-900 dark:text-gray-100">No prompts or model versions available. <br> Please create prompts and model versions to perform this action.</p>
Expand Down
2 changes: 1 addition & 1 deletion app/views/dashboard/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<div class="container px-6 mx-auto mt-10 grid relative">
<div class="container px-6 mx-auto mt-10 mb-10 grid relative">
<%= render 'layouts/flash' %>

<h2
Expand Down
2 changes: 1 addition & 1 deletion app/views/model_versions/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<h1 class="font-bold text-4xl text-gray-900 dark:text-gray-100">Editing model version</h1>

<%= render "form", model_version: @model_version %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/model_versions/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<%= render 'layouts/flash' %>

<% content_for :title, "Model versions" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/model_versions/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<h1 class="font-bold text-4xl text-gray-900 dark:text-gray-100">New model version</h1>

<%= render "form", model_version: @model_version %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/model_versions/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<%= render 'layouts/flash' %>

<%= render @model_version %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/models/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<h1 class="font-bold text-4xl text-gray-900 dark:text-gray-100">Editing model</h1>

<%= render "form", model: @model %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/models/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<%= render 'layouts/flash' %>

<% content_for :title, "Models" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/models/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<h1 class="font-bold text-4xl text-gray-900 dark:text-gray-100">New model</h1>

<%= render "form", model: @model %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/models/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<%= render 'layouts/flash' %>

<%= render @model %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/prompts/diff.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<div id="<%= dom_id @prompt %>">
<p class="my-5 text-gray-900 dark:text-gray-100">
<strong class="block font-medium mb-1">Value:</strong>
Expand Down
2 changes: 1 addition & 1 deletion app/views/prompts/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<h1 class="font-bold text-4xl text-gray-900 dark:text-gray-100">Edit prompt</h1>

<%= form_with(url: prompt_path(@parent_prompt), method: :patch, class: "contents") do |form| %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/prompts/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<%= render 'layouts/flash' %>

<% content_for :title, "Prompts" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/prompts/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<h1 class="font-bold text-4xl text-gray-900 dark:text-gray-100">New prompt</h1>

<%= render "form", prompt: @prompt %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/prompts/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<%= render 'layouts/flash' %>

<%= render @prompt %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/test_model_version_runs/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<%= render 'layouts/flash' %>

<%= render @test_model_version_run %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/test_results/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<div class="flex justify-between items-center">
<h1 class="font-bold text-4xl text-gray-900 dark:text-gray-100">Test Results</h1>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/test_results/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<p class="my-5 text-gray-900 dark:text-gray-100">
<strong class="font-medium mb-1">Model:</strong>
<%= link_to @test_result.model_version.model.name, @test_result.model_version.model, class: "text-blue-500 underline-link" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/test_runs/_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<%= form_for(test_run, class: "contents") do |form| %>
<% if test_run.errors.any? %>
<div id="error_explanation" class="bg-red-50 text-red-500 px-3 py-2 font-medium rounded-lg mt-3">
Expand Down
2 changes: 1 addition & 1 deletion app/views/test_runs/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<%= render 'layouts/flash' %>

<% content_for :title, "Test Runs" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/test_runs/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<h1 class="font-bold text-4xl text-gray-900 dark:text-gray-100">New test run</h1>

<%= render "form", test_run: @test_run %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/test_runs/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container px-6 mx-auto mt-10 grid">
<div class="container px-6 mx-auto mt-10 mb-10 grid">
<%= render 'layouts/flash' %>

<%= render @test_run %>
Expand Down

0 comments on commit 26d1b5a

Please sign in to comment.