aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2017-09-28 22:46:59 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-09-28 22:46:59 +0200
commit47abdd051c6b694be99cd3e3e0bccfe12ed15719 (patch)
treeed4e18778f84bf4cb51954db7d8ae43d039d09a9
parent92a1bf3917f41f86c3c6153f97d99896c2665c3e (diff)
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
-rw-r--r--p/themes/base-theme/template.css9
1 files changed, 9 insertions, 0 deletions
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;