From b5fd51c6dd0d43d44146f96d51ac386da658b181 Mon Sep 17 00:00:00 2001 From: Christopher Charbonneau Wells Date: Wed, 11 Oct 2017 13:54:04 -0400 Subject: [PATCH] Add a mobile-only "quick add" menu for adding activities with larger (link) targets than the regular menu. --- babyblotter/static_src/scss/_global.scss | 8 +++- .../templates/babyblotter/nav-dropdown.html | 42 +++++++++++++++++-- 2 files changed, 45 insertions(+), 5 deletions(-) diff --git a/babyblotter/static_src/scss/_global.scss b/babyblotter/static_src/scss/_global.scss index 3261818d..9edbaa42 100644 --- a/babyblotter/static_src/scss/_global.scss +++ b/babyblotter/static_src/scss/_global.scss @@ -1 +1,7 @@ -// Baby Blotter site-wide custom functions. +// Baby Blotter site-wide custom styles. + +// Temporary workaround. See: https://github.com/twbs/bootstrap/issues/23553 +.dropdown-menu-right { + right: 0; + left: auto; // Reset the default from `.dropdown-menu` + } diff --git a/babyblotter/templates/babyblotter/nav-dropdown.html b/babyblotter/templates/babyblotter/nav-dropdown.html index 63f7eeed..97b8d780 100644 --- a/babyblotter/templates/babyblotter/nav-dropdown.html +++ b/babyblotter/templates/babyblotter/nav-dropdown.html @@ -5,9 +5,43 @@