From 47abdd051c6b694be99cd3e3e0bccfe12ed15719 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Thu, 28 Sep 2017 22:46:59 +0200 Subject: Change layout for the share options on mobile (#1645) * Change layout for the share options on mobile Before, it was impossible to click on links to share on small screens. Now, all dropdowns are opened at the bottom of the screen and stays there. Linked to #1506 * Change rule for border-radius --- p/themes/base-theme/template.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index f1a09c50c..320ad2d9b 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/template.css @@ -835,6 +835,15 @@ input:checked + .slide-container .properties { .no-mobile { display: none; } + .dropdown .dropdown-menu { + border-radius: 0; + bottom: 0; + position: fixed; + width: 100%; + } + .dropdown-menu::after { + display: none; + } .aside .toggle_aside, .nav-login { display: block; -- cgit v1.2.3