Skip to content

Commit

Permalink
Add Advert Crud
Browse files Browse the repository at this point in the history
  • Loading branch information
ger619 committed Jul 11, 2023
1 parent 0e1e740 commit 0821023
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/home/_landing.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
</div>
</div>

<div class="sm:flex flex-col md:items-end gap-5 md:hidden lg:hidden xl:hidden ">
<div class="flex flex-col w-[90%] h-[100px] text-white bg-black">
<%= image_tag(advert.mobile_image, class: "w-[90%] h-[100px] ") %>
<div class="sm:flex flex-col md:items-end m-[4%] md:hidden lg:hidden xl:hidden ">
<div class="flex flex-col w-[95%] h-[100px] text-white bg-black">
<%= image_tag(advert.mobile_image, class: "w-[100%] h-[100px] ") %>
<p class=" text-xs p-2">Featured Mobile</p>
<p class="text-sm p-4 font-semibold w-[90%]">Mobile</p>
</div>
Expand Down

0 comments on commit 0821023

Please sign in to comment.