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

Fix description empty string creating bug in layout #2400

Merged
merged 2 commits into from
Apr 21, 2024
Merged

Conversation

ildyria
Copy link
Member

@ildyria ildyria commented Apr 20, 2024

No description provided.

@ildyria ildyria added this to the 5.2.3 milestone Apr 20, 2024
@ildyria ildyria added the Review: easy Easy review expected: probably just need a quick to go through. label Apr 20, 2024
@Gendra13
Copy link

Thank you.
I did test the fix and it works in my special case (no description at all), but there is still an issue when there is a description text present.
I added a bit more information in the corresponding report: #2399 (reply in thread)

@ildyria
Copy link
Member Author

ildyria commented Apr 21, 2024

@Gendra13 should be fixed now. I found the culprit.

@Gendra13
Copy link

Yes, thank you. That fix work fine.

@@ -38,7 +38,7 @@
@endif
</div>
@if($this->AlbumFormatted->description !== '')
<div class="w-full px-7 my-4 text-justify text-text-main-200 prose prose-invert prose-sm" {{ $attributes }} >
<div class="w-full px-7 max-w-full my-4 text-justify text-text-main-200 prose prose-invert prose-sm" {{ $attributes }} >{{-- prose set max-width to 65 chars --}}
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need w-full and max-w-full?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes.
w-full = width: 100%
max-w-full = max-width: 100%

@ildyria ildyria merged commit d3bad4e into master Apr 21, 2024
31 checks passed
@ildyria ildyria deleted the fix-2399 branch April 21, 2024 20:48
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.

3 participants