From bf842acc21cec1c3c902504afeeda7864ca7a31b Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 27 May 2017 18:20:49 +0200 Subject: [PATCH] Small improvements to popups --- skins/elastic/styles/widgets/dialogs.less | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/skins/elastic/styles/widgets/dialogs.less b/skins/elastic/styles/widgets/dialogs.less index 968d6ec25..d1f49c3cc 100644 --- a/skins/elastic/styles/widgets/dialogs.less +++ b/skins/elastic/styles/widgets/dialogs.less @@ -9,15 +9,16 @@ * See http://creativecommons.org/licenses/by-sa/3.0/ for details. */ - /*** Dialogs ***/ -/* TODO: To be reviewed with popups implementation */ - .popupmenu { display: none; padding: 0; min-width: 180px; + + li > a { + width: 100%; + } } div.ui-dialog-content > .popupmenu, @@ -41,8 +42,20 @@ div.popover-content { overflow-x: hidden; } -div.popover > h3 { - display: none; +.popover { + /* On mobile don't display popup arrows */ + @media screen and (max-width: @screen-width-xs) { + & { + margin: 0 !important; + } + div.arrow { + display: none; + } + } + + & > h3 { + display: none; + } } .pgpkeyimport {