From 199665bde3809ae7272fbc5c637d28d4333a6f52 Mon Sep 17 00:00:00 2001 From: Burak Civan Date: Thu, 3 Nov 2022 16:05:32 +0300 Subject: [PATCH] tips Html controlled --- .../views/components/tips/fixed.blade.php | 28 +++++++++++++------ .../views/components/tips/relative.blade.php | 27 ++++++++++++------ 2 files changed, 37 insertions(+), 18 deletions(-) diff --git a/resources/views/components/tips/fixed.blade.php b/resources/views/components/tips/fixed.blade.php index f7a48cb02..0bf1f61ea 100644 --- a/resources/views/components/tips/fixed.blade.php +++ b/resources/views/components/tips/fixed.blade.php @@ -10,18 +10,28 @@ {{ $item->title }} -
- {!! $item->description !!} -
+
$item->align == 'right', + 'float-left' => $item->align == 'left', + ]) - - - {{ $item->learn_more }} - - + style="width: 200px;" + > + +
+ {!! $item->description !!} +
+ + + + {{ $item->learn_more }} + + +
-
+
{{ $item->title }}
diff --git a/resources/views/components/tips/relative.blade.php b/resources/views/components/tips/relative.blade.php index bf56e29f2..7847c1f98 100644 --- a/resources/views/components/tips/relative.blade.php +++ b/resources/views/components/tips/relative.blade.php @@ -10,18 +10,27 @@ {{ $item->title }} -
- {!! $item->description !!} -
+
$item->align == 'right', + 'float-left' => $item->align == 'left', + ]) - - - {{ $item->learn_more }} - - + style="width: 200px;" + > +
+ {!! $item->description !!} +
+ + + + {{ $item->learn_more }} + + +
-
+
{{ $item->title }}