From 4d6654703413b9997360e04356fff40a0edbaff2 Mon Sep 17 00:00:00 2001 From: johndoh Date: Wed, 11 Sep 2019 08:07:03 +0100 Subject: [PATCH] Elastic: Fix border radius in popovers on small screens (#6911) --- skins/elastic/styles/widgets/dialogs.less | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/skins/elastic/styles/widgets/dialogs.less b/skins/elastic/styles/widgets/dialogs.less index a33549dcd..088be827b 100644 --- a/skins/elastic/styles/widgets/dialogs.less +++ b/skins/elastic/styles/widgets/dialogs.less @@ -55,13 +55,15 @@ display: none; } - .listing { - li:first-child { - border-radius: .25rem .25rem 0 0; - } + @media screen and (min-width: (@screen-width-small + 1px)) { + .listing { + li:first-child { + border-radius: .25rem .25rem 0 0; + } - li:last-child { - border-radius: 0 0 .25rem .25rem; + li:last-child { + border-radius: 0 0 .25rem .25rem; + } } } }