Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/stylesheets/bootstrap/_dropdown.scss')
-rw-r--r--assets/stylesheets/bootstrap/_dropdown.scss9
1 files changed, 3 insertions, 6 deletions
diff --git a/assets/stylesheets/bootstrap/_dropdown.scss b/assets/stylesheets/bootstrap/_dropdown.scss
index b71058c..209843f 100644
--- a/assets/stylesheets/bootstrap/_dropdown.scss
+++ b/assets/stylesheets/bootstrap/_dropdown.scss
@@ -70,14 +70,11 @@
// Allow for dropdowns to go bottom up (aka, dropup-menu)
// Just add .dropup after the standard .dropdown class and you're set.
.dropup {
- .dropdown-menu {
+ .dropdown-menu[data-bs-popper] {
top: auto;
bottom: 100%;
-
- &[data-bs-popper] {
- margin-top: 0;
- margin-bottom: $dropdown-spacer;
- }
+ margin-top: 0;
+ margin-bottom: $dropdown-spacer;
}
.dropdown-toggle {