From b53ed1cfe478b857488e6aa8fb67aa5bc63625e0 Mon Sep 17 00:00:00 2001 From: Roman Date: Sat, 3 Apr 2021 16:30:11 +0200 Subject: [PATCH] jumbotron fix --- core/Elements/View.class.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/core/Elements/View.class.php b/core/Elements/View.class.php index 9166866..3fec10d 100644 --- a/core/Elements/View.class.php +++ b/core/Elements/View.class.php @@ -141,16 +141,12 @@ abstract class View extends StaticView { } protected function createJumbotron(string $content, bool $fluid=false, $class=""): string { - $jumbotronClass = "jumbotron" . ($fluid ? "-fluid" : ""); + $jumbotronClass = "jumbotron" . ($fluid ? " jumbotron-fluid" : ""); if (!empty($class)) $jumbotronClass .= " $class"; - return " -
-
-
- $content -
-
+ return + "
+ $content
"; }