From e786663e8b7c75a448c33463d966ff05248008b2 Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Tue, 15 Nov 2022 13:03:59 +0200 Subject: [PATCH] add label --- .../FillTheGapQuestionService/CreateGapService/CreateGap.js | 1 + .../components/FillTheGapContainerComponent.js | 5 ++--- .../CreateDropDownService/CreateDropDown.js | 1 + .../components/MultipleDropDownContainerComponent.js | 6 +++--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/wax-prosemirror-services/src/FillTheGapQuestionService/CreateGapService/CreateGap.js b/wax-prosemirror-services/src/FillTheGapQuestionService/CreateGapService/CreateGap.js index 1d69d4c54..93b7ddc3c 100644 --- a/wax-prosemirror-services/src/FillTheGapQuestionService/CreateGapService/CreateGap.js +++ b/wax-prosemirror-services/src/FillTheGapQuestionService/CreateGapService/CreateGap.js @@ -8,6 +8,7 @@ class CreateGap extends Tools { title = 'Create Gap Option'; icon = 'insertGap'; name = 'Create Gap'; + label = 'Create Gap'; get run() { return (state, dispatch) => { diff --git a/wax-prosemirror-services/src/FillTheGapQuestionService/components/FillTheGapContainerComponent.js b/wax-prosemirror-services/src/FillTheGapQuestionService/components/FillTheGapContainerComponent.js index fc317ec16..4f1822150 100644 --- a/wax-prosemirror-services/src/FillTheGapQuestionService/components/FillTheGapContainerComponent.js +++ b/wax-prosemirror-services/src/FillTheGapQuestionService/components/FillTheGapContainerComponent.js @@ -11,11 +11,11 @@ const FillTheGapContainer = styled.div` `; const FillTheGapContainerTool = styled.div` - background: #f5f5f7; + border: 3px solid #f5f5f7; + border-bottom: none; span { position: relative; - left: 5px; top: 3px; } `; @@ -47,7 +47,6 @@ export default ({ node, view, getPos }) => { <div> <span> Fill The Gap</span> <FillTheGapContainerTool> - <span> Insert Gap :</span> <FillTheGapTool /> </FillTheGapContainerTool> </div> diff --git a/wax-prosemirror-services/src/MultipleDropDownService/CreateDropDownService/CreateDropDown.js b/wax-prosemirror-services/src/MultipleDropDownService/CreateDropDownService/CreateDropDown.js index 6f8671cce..817627ecb 100644 --- a/wax-prosemirror-services/src/MultipleDropDownService/CreateDropDownService/CreateDropDown.js +++ b/wax-prosemirror-services/src/MultipleDropDownService/CreateDropDownService/CreateDropDown.js @@ -9,6 +9,7 @@ class CreateDropDown extends Tools { title = 'Create Drop Down'; icon = 'mulitpleDropDown'; name = 'Create_Drop_Down'; + label = 'Insert Drop Down'; get run() { return (state, dispatch) => { diff --git a/wax-prosemirror-services/src/MultipleDropDownService/components/MultipleDropDownContainerComponent.js b/wax-prosemirror-services/src/MultipleDropDownService/components/MultipleDropDownContainerComponent.js index 4cd5f8a95..182c356d0 100644 --- a/wax-prosemirror-services/src/MultipleDropDownService/components/MultipleDropDownContainerComponent.js +++ b/wax-prosemirror-services/src/MultipleDropDownService/components/MultipleDropDownContainerComponent.js @@ -11,10 +11,11 @@ const MultipleDropDownpWrapper = styled.div` `; const MultipleDropDownContainerTool = styled.div` - background: #f5f5f7; + border: 3px solid #f5f5f7; + border-bottom: none; + span { position: relative; - left: 5px; top: 3px; } `; @@ -46,7 +47,6 @@ export default ({ node, view, getPos }) => { <div> <span>Multiple Drop Down</span> <MultipleDropDownContainerTool> - <span> Insert Drop Down :</span> <MultipleDropDown /> </MultipleDropDownContainerTool> </div> -- GitLab