From 5d22738787d11971e9b1930c001f23ee84cc39f2 Mon Sep 17 00:00:00 2001 From: soufiane Date: Mon, 18 Sep 2023 11:57:36 +0200 Subject: [PATCH] wip #6182 @0:40 question drag and drop --- style/106-question-draganddrop.sass | 11 +++++++++++ views/screens/question_draganddrop.blade.php | 8 ++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/style/106-question-draganddrop.sass b/style/106-question-draganddrop.sass index 130f00e..f868220 100644 --- a/style/106-question-draganddrop.sass +++ b/style/106-question-draganddrop.sass @@ -32,6 +32,9 @@ .text margin-bottom: 21px + h2 + font-size: 20px + margin-bottom: 8px .slot width: 100% height: 51px @@ -43,6 +46,14 @@ margin-bottom: 8px &.active border: 1px solid rgba($texts-color,.24) + span + display: -webkit-box + display: -moz-box + max-width: 100% + -webkit-line-clamp: 2 + line-clamp: 2 + -webkit-box-orient: vertical + overflow: hidden .screen +flex-config(center, false, false, center) diff --git a/views/screens/question_draganddrop.blade.php b/views/screens/question_draganddrop.blade.php index 7519730..f54adf8 100644 --- a/views/screens/question_draganddrop.blade.php +++ b/views/screens/question_draganddrop.blade.php @@ -4,8 +4,8 @@
-

Zone 1

-

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh

+

{{ $question['area_1']['title'] }}

+

{{ $question['area_1']['text'] }}

@foreach($question['answers'] as $key => $answer) @@ -41,8 +41,8 @@
-

Zone 1

-

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh

+

{{ $question['area_2']['title'] }}

+

{{ $question['area_2']['text'] }}

@foreach($question['answers'] as $key => $answer) -- 2.39.5