Skip to content

Commit

Permalink
minor #16099 BUGFIX: [ShopBundle] #16068 wrap long text in product de…
Browse files Browse the repository at this point in the history
…scription (crydotsnake)

This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12.                                                        |
| Bug fix?        | yes.                                                         |
| New feature?    | no                                                           |
| BC breaks?      | no.                                                          |
| Deprecations?   | no                                                           |
| Related tickets | fixes #16068,                                                |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->

Its the same behavior as in: #16031 

![SCR-20240406-hdyh](https://github.com/Sylius/Sylius/assets/39345336/4fc9f839-3070-4b04-bde7-754fdef69307)



Commits
-------
  BUGFIX: [ShopBundle] #16068 wrap long text in product description
  • Loading branch information
Wojdylak committed Apr 8, 2024
2 parents 0e9aeb0 + f004659 commit 8e3cb3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1331,3 +1331,7 @@ address {
width: 30px !important;
padding: 7px 0 !important;
}

.text-break {
word-break: break-word;
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="ui bottom attached tab segment active" data-tab="details">
<div class="ui bottom attached tab segment active text-break" data-tab="details">
{{ sylius_template_event('sylius.shop.product.show.tab_details', _context) }}
</div>

0 comments on commit 8e3cb3d

Please sign in to comment.