Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
michelson committed Oct 21, 2024
1 parent 5a05ff5 commit 6bc3d4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/albums/templates/base/_section_fixed.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<% section.release_section_images.each do |item| %>
<% if item.image.present? %>
<%= image_tag item.image, class: "grayscale hover:grayscale-0",
<%= image_tag item.image, class: "sm:grayscale hover:grayscale-0",
width: "1600",
#height: "900",
style: "aspect-ratio: 1600 / 900; object-fit: cover;"
Expand All @@ -12,7 +12,7 @@
<% end %>

</div>
<div class="sm:block absolute top-0 right-0 bottom-0 w-full md:w-1/2 lg:w-2/5 flex items-center justify-center">
<div class="sm:absolute top-0 right-0 bottom-0 w-full md:w-1/2 lg:w-2/5 flex items-center justify-center">
<div class="bg-default opacity-75 p-6 md:p-8 w-full h-full flex flex-col justify-center">
<h1 class="text-6xl md:text-7xl lg:text-8xl font-bold tracking-tight leading-none">
<%= section.subtitle %>
Expand Down

0 comments on commit 6bc3d4b

Please sign in to comment.