From 412ad2d41d2ada38c8c2e22ba3c6b246dfcf37b4 Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Sun, 20 Sep 2020 17:53:28 +0300 Subject: [PATCH] mobile fix --- .../src/components/tables/CreateTable.js | 1 - wax-prosemirror-layouts/src/layouts/EditoriaLayout.js | 9 +++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/wax-prosemirror-components/src/components/tables/CreateTable.js b/wax-prosemirror-components/src/components/tables/CreateTable.js index 3bb6a2147..e590e6a75 100644 --- a/wax-prosemirror-components/src/components/tables/CreateTable.js +++ b/wax-prosemirror-components/src/components/tables/CreateTable.js @@ -22,7 +22,6 @@ const InsertTableToolContainer = styled.div` display: block; height: auto; top: 53px; - /* left: 54%; */ position: absolute; `; diff --git a/wax-prosemirror-layouts/src/layouts/EditoriaLayout.js b/wax-prosemirror-layouts/src/layouts/EditoriaLayout.js index 6f0067f1d..b708057ba 100644 --- a/wax-prosemirror-layouts/src/layouts/EditoriaLayout.js +++ b/wax-prosemirror-layouts/src/layouts/EditoriaLayout.js @@ -90,6 +90,7 @@ const EditorContainer = styled.div` } @media (max-width: 600px) { width: 100%; + padding: 30px 0px 0px 0px; } `; @@ -111,13 +112,14 @@ const MainMenuContainer = styled.div` background: #fff; min-height: 52px; line-height: 32px; - position: relative; + position: absolute; + width: 100%; user-select: none; border-bottom: 2px solid #ecedf1; @media (max-width: 600px) { font-size: 10px; min-height: 72px; - line-height: 32px; + line-height: 0px; } `; const MainMenuInner = styled.div` @@ -136,6 +138,9 @@ const MainMenuInner = styled.div` div { align-items: center; justify-content: center; + @media (max-width: 600px) { + justify-content: start; + } } `; -- GitLab