From 489e7b6798b817430b8e6d4d9ab57bd3bf45f335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Poupard?= Date: Mon, 22 Feb 2021 07:49:38 +0100 Subject: fix(card): siblings card links in RTL (#33154) Fixes a bug mentionned in [#32330](https://github.com/twbs/bootstrap/issues/32330#issuecomment-782001326). Co-authored-by: XhmikosR --- scss/_card.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scss') diff --git a/scss/_card.scss b/scss/_card.scss index 4b2eebf13..e3314219f 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -69,7 +69,7 @@ } + .card-link { - margin-left: $card-spacer-x #{"/* rtl:ignore */"}; + margin-left: $card-spacer-x; } } -- cgit v1.2.3 From d983744d12be0937bb1aaef06057385d9b553e0c Mon Sep 17 00:00:00 2001 From: Rohit Sharma Date: Mon, 22 Feb 2021 12:27:21 +0530 Subject: Remove the default positioning from `.dropup` (#33120) --- scss/_dropdown.scss | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'scss') diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index b71058c58..209843fac 100644 --- a/scss/_dropdown.scss +++ b/scss/_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 { -- cgit v1.2.3 From ac3a1069b139c12d95ca1b6ac2798e56cf01a83e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Poupard?= Date: Fri, 26 Feb 2021 10:10:02 +0100 Subject: fix(forms): validated controls in input-group --- scss/mixins/_forms.scss | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'scss') diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss index e3f8061e9..a1e0849df 100644 --- a/scss/mixins/_forms.scss +++ b/scss/mixins/_forms.scss @@ -123,5 +123,12 @@ margin-left: .5em; } } + + .input-group .form-control, + .input-group .form-select { + @include form-validation-state-selector($state) { + z-index: 3; + } + } } // scss-docs-end form-validation-mixins -- cgit v1.2.3 From 0bdf9315077d22022a1f35b60b830398825098ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Poupard?= Date: Fri, 26 Feb 2021 09:29:40 +0100 Subject: fix(list-group): properly set a color on list-group-items --- scss/_variables.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scss') diff --git a/scss/_variables.scss b/scss/_variables.scss index 3fcba715b..723f5a86b 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -1299,7 +1299,7 @@ $progress-bar-transition: width .6s ease !default; // List group // scss-docs-start list-group-variables -$list-group-color: null !default; +$list-group-color: $gray-900 !default; $list-group-bg: $white !default; $list-group-border-color: rgba($black, .125) !default; $list-group-border-width: $border-width !default; -- cgit v1.2.3 From bed8fc8381be8f9aad7ac95727be4ab8975b4f94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Poupard?= Date: Fri, 26 Feb 2021 11:59:28 +0100 Subject: fix(navs): ensure button will grow in fill/justified nav --- scss/_nav.scss | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'scss') diff --git a/scss/_nav.scss b/scss/_nav.scss index 2534f7f77..ffb27d869 100644 --- a/scss/_nav.scss +++ b/scss/_nav.scss @@ -117,6 +117,13 @@ } } +.nav-fill, +.nav-justified { + .nav-item .nav-link { + width: 100%; // Make sure button will grow + } +} + // Tabbable tabs // -- cgit v1.2.3 From 6d93a1371a7edb823f7d625c6f4489f37c06aac1 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 2 Mar 2021 06:09:14 -0800 Subject: Reset select:disabled opacity and null-ify color to fix rendering differences in Chrome --- scss/_reboot.scss | 12 +++++++----- scss/_variables.scss | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'scss') diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 7b153d1a8..22b9aaa60 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -420,12 +420,10 @@ textarea { } // Remove the inheritance of text transform in Firefox - button, select { text-transform: none; } - // Set the cursor for non-`