Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper markdown support on descriptions #2335

Merged
merged 2 commits into from
Mar 28, 2024
Merged

Proper markdown support on descriptions #2335

merged 2 commits into from
Mar 28, 2024

Conversation

ildyria
Copy link
Member

@ildyria ildyria commented Mar 28, 2024

@ildyria ildyria added the Review: easy Easy review expected: probably just need a quick to go through. label Mar 28, 2024
@ildyria ildyria added this to the 5.2.0 milestone Mar 28, 2024
Copy link
Contributor

@d7415 d7415 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Untested. One query, otherwise no concerns.

@@ -17,8 +17,7 @@ class="border-t border-solid border-primary-500 text-text-main-0 w-[360px] h-ful
<span class="col-span-2 py-0.5 pl-3 text-sm">{{ __('lychee.PHOTO_DESCRIPTION') }}</span>
</template>
<template x-if="preformatted.description">
<div class="pb-0.5 pt-4 pl-8 col-span-2 text-sm" id="photoDescription"
x-html="preformatted.description">
<div class="pb-0.5 pt-4 pl-8 col-span-2 prose prose-invert prose-sm" x-html="preformatted.description">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't use the ID?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We used to for the css, but it is no longer required with the prose.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ildyria ildyria merged commit e534bc8 into master Mar 28, 2024
31 checks passed
@ildyria ildyria deleted the description-as-md branch March 28, 2024 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review: easy Easy review expected: probably just need a quick to go through.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants