From de65c02222cb868eca91f01cadafe3b982630ad6 Mon Sep 17 00:00:00 2001 From: Lorenzo Alberto Maria Ambrosi Date: Wed, 11 Dec 2019 12:32:02 +0100 Subject: [PATCH] Make header draggable again Change-type: patch Changelog-entry: Make header draggable again Signed-off-by: Lorenzo Alberto Maria Ambrosi --- lib/gui/app/pages/main/Flash.tsx | 4 ++-- lib/gui/app/pages/main/MainPage.tsx | 1 + lib/gui/css/desktop.css | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/gui/app/pages/main/Flash.tsx b/lib/gui/app/pages/main/Flash.tsx index 9a67d84b..311732ca 100644 --- a/lib/gui/app/pages/main/Flash.tsx +++ b/lib/gui/app/pages/main/Flash.tsx @@ -293,8 +293,8 @@ export const Flash = ({ action={'Continue'} primaryButtonProps={{ primary: false, warning: true }} > - {_.map(warningMessages, message => ( - + {_.map(warningMessages, (message, key) => ( + {message} ))} diff --git a/lib/gui/app/pages/main/MainPage.tsx b/lib/gui/app/pages/main/MainPage.tsx index 3f8047fb..4d062ba7 100644 --- a/lib/gui/app/pages/main/MainPage.tsx +++ b/lib/gui/app/pages/main/MainPage.tsx @@ -101,6 +101,7 @@ const MainPage = ({ $state }: any) => { return (
header { +#app-header { -webkit-app-region: drag; }