From 2cd5204bbbd70f823514019d94827be1e3b3ac20 Mon Sep 17 00:00:00 2001 From: "Shaun A. Noordin" Date: Mon, 17 Jun 2024 18:38:44 +0100 Subject: [PATCH 01/14] pages-editor-pt26: remove Safari fix which kills other browsers --- css/lab-pages-editor.styl | 1 - 1 file changed, 1 deletion(-) diff --git a/css/lab-pages-editor.styl b/css/lab-pages-editor.styl index d558ef56ef..b8541ac4ac 100644 --- a/css/lab-pages-editor.styl +++ b/css/lab-pages-editor.styl @@ -85,7 +85,6 @@ $fontWeightBoldPlus = 700 color: $black font-size: $fontSizeM padding: $sizeS - -webkit-appearance: none // Remove gradient overlay in Safari button border-radius: $sizeXS From 5d0a5adbd8913722138324c17743667d7be3ad2a Mon Sep 17 00:00:00 2001 From: "Shaun A. Noordin" Date: Tue, 18 Jun 2024 22:46:32 +0100 Subject: [PATCH 02/14] TasksPage design: Add New Task button only takes 50% width when workflow is empty --- app/pages/lab-pages-editor/components/TasksPage/TasksPage.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/pages/lab-pages-editor/components/TasksPage/TasksPage.jsx b/app/pages/lab-pages-editor/components/TasksPage/TasksPage.jsx index 6061472180..31f18b4c5b 100644 --- a/app/pages/lab-pages-editor/components/TasksPage/TasksPage.jsx +++ b/app/pages/lab-pages-editor/components/TasksPage/TasksPage.jsx @@ -296,7 +296,7 @@ export default function TasksPage() { aria-label="Choose starting Page" className="flex-item workflow-starting-page" onChange={handleChangeStartingPage} - style={(workflow?.steps?.length < 1) ? { display: 'none' } : undefined} + style={(workflow?.steps?.length < 1) ? { visibility: 'hidden' } : undefined} value={firstStepKey} > From b42e07a749b2aa4cde1f67d9e6311468f3176b9f Mon Sep 17 00:00:00 2001 From: "Shaun A. Noordin" Date: Tue, 18 Jun 2024 22:49:48 +0100 Subject: [PATCH 03/14] EditStepDialog design: Done button now has 33% min width --- css/lab-pages-editor.styl | 1 + 1 file changed, 1 insertion(+) diff --git a/css/lab-pages-editor.styl b/css/lab-pages-editor.styl index b8541ac4ac..8e17092d13 100644 --- a/css/lab-pages-editor.styl +++ b/css/lab-pages-editor.styl @@ -359,6 +359,7 @@ $fontWeightBoldPlus = 700 &.done border: 3px solid $teal + min-width: 33% padding: $sizeS $sizeXL &[disabled] From 2719866f66666edd35a76da28f3c762c2d00c2b1 Mon Sep 17 00:00:00 2001 From: "Shaun A. Noordin" Date: Tue, 18 Jun 2024 22:54:27 +0100 Subject: [PATCH 04/14] NewTaskDialog design: center-align new Tasks button --- .../components/TasksPage/components/NewTaskDialog.jsx | 2 +- css/lab-pages-editor.styl | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/pages/lab-pages-editor/components/TasksPage/components/NewTaskDialog.jsx b/app/pages/lab-pages-editor/components/TasksPage/components/NewTaskDialog.jsx index 037b2dbbfe..f488b5adc9 100644 --- a/app/pages/lab-pages-editor/components/TasksPage/components/NewTaskDialog.jsx +++ b/app/pages/lab-pages-editor/components/TasksPage/components/NewTaskDialog.jsx @@ -85,7 +85,7 @@ function NewTaskDialog({ A task is a unit of work you are asking volunteers to do. You can ask them to answer a question or mark an image.

-
+
- -