Skip to content

Commit

Permalink
Fix description markdown on the overlay. (LycheeOrg#2347)
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Apr 6, 2024
1 parent 414737c commit e5404bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/gallery/photo/overlay.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div id="image_overlay" class="absolute bottom-7 left-7 text-text-main-0 text-shadow text-white"
x-show="photoFlags.overlayType !== 'none'" x-cloak>
<h1 class=" text-3xl" x-text="photo.title" ></h1>
<p class="mt-1 text-xl" x-show="photoFlags.overlayType === 'desc'" x-text="photo.description" />
<p class="mt-1 text-xl prose prose-invert" x-show="photoFlags.overlayType === 'desc'" x-html="photo.preformatted.description" />
<p class="mt-1 text-xl" x-show="photoFlags.overlayType === 'date'">
<span x-show="photo.precomputed.is_camera_date">
<x-icons.iconic class="w-4 h-4 fill-white m-0 mr-1 -mt-1" icon='camera-slr' /></span>
Expand Down

0 comments on commit e5404bc

Please sign in to comment.