fix styling on addons

This commit is contained in:
Celina Lopez
2024-10-03 16:32:57 -07:00
parent 6b0f90dd4d
commit 05831749bf
2 changed files with 3 additions and 18 deletions

View File

@@ -30,9 +30,9 @@
<div class="text-sm text-gray-500">
More charts coming soon.
</div>
<div class="grid grid-cols-8 gap-4 my-4">
<div class="grid grid-cols-5 gap-4 my-4">
<% YAML.load_file(Rails.root.join('resources', 'helm', 'charts.yml'))['helm']['charts'].each do |chart| %>
<div class="card bg-base-100 shadow-xl cursor-pointer overflow-hidden hover:border hover:border-base-30 "
<div class="card bg-base-100 shadow-xl cursor-pointer overflow-hidden border hover:border-solid border-base-100 hover:border-base-300"
data-new-add-ons-target="card"
data-action="click->new-add-ons#selectChart"
data-chart-name="<%= chart['name'] %>">
@@ -40,7 +40,7 @@
<div class="w-full flex items-center justify-center">
<img
src="<%= chart['logo'] %>" alt="<%= chart['name'] %>"
class="h-[50px] object-contain transition-transform duration-300"
class="h-[50px] object-contain"
/>
</div>
</figure>

15
db/schema.rb generated
View File

@@ -85,21 +85,6 @@ ActiveRecord::Schema[7.2].define(version: 2024_10_03_191037) do
t.index ["user_id"], name: "index_clusters_on_user_id"
end
create_table "connected_providers", force: :cascade do |t|
t.string "owner_type"
t.bigint "owner_id"
t.string "access_token"
t.string "access_token_secret"
t.text "auth"
t.string "provider"
t.string "refresh_token"
t.string "uid"
t.datetime "expires_at"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["owner_type", "owner_id"], name: "index_connected_providers_on_owner"
end
create_table "cron_schedules", force: :cascade do |t|
t.bigint "service_id", null: false
t.string "schedule", null: false