From 7146d07f4ece19550f1d0dd353f2a29c78d4fdaa Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 8 Jan 2024 21:24:41 +0000 Subject: [PATCH] [style] use CSS for text-wrapping --- core/basepage.php | 7 +------ themes/default/style.css | 4 ++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/core/basepage.php b/core/basepage.php index a4d57157..671b6f47 100644 --- a/core/basepage.php +++ b/core/basepage.php @@ -584,16 +584,11 @@ class BasePage } } - $wrapper = ""; - if (strlen($this->heading) > 100) { - $wrapper = ' style="height: 3em; overflow: auto;"'; - } - $footer_html = $this->footer_html(); $flash_html = $this->flash ? "".nl2br(html_escape(implode("\n", $this->flash)))."" : ""; return "
- {$this->heading} +

{$this->heading}

$sub_block_html