From b94019e99eccb954450f552426630e1817dde4a0 Mon Sep 17 00:00:00 2001 From: Sebastian Castro Date: Sat, 4 Apr 2020 11:15:33 +0200 Subject: [PATCH] mobile: fix toolbar popup --- src/static/css/pad/popup.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/static/css/pad/popup.css b/src/static/css/pad/popup.css index 130886ca4..ffac39ca4 100644 --- a/src/static/css/pad/popup.css +++ b/src/static/css/pad/popup.css @@ -56,13 +56,15 @@ @media only screen and (max-width: 720px) { .popup { border-radius: 0; - top: auto; left: 0; - bottom: 0; right: 0; max-height: 80vh; - max-width: none; - + max-width: none !important; + } + /* Move popup to the bottom, except popup linked to left toolbar, like hyperklink popup */ + .popup:not(.hyperlink-dialog):not(.toolbar-popup) { + top: auto; + bottom: 0; border-radius: 6px 6px 0 0; border: 1px solid #ccc; border-bottom: none;