mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
implement custom word wrap for text blocks
This commit is contained in:
parent
f81cf9fdee
commit
7ec3d06db9
4 changed files with 85 additions and 65 deletions
|
|
@ -180,7 +180,8 @@ class Gemtext extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Cont
|
|||
else
|
||||
{
|
||||
$line[] = Markup::text(
|
||||
$entity->getData()
|
||||
$entity->getData(),
|
||||
$this->content->page->gtk->get_allocated_width()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue