mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-29 08:10:47 +02:00
Replace /
division with multiplication and custom divide()
function (#34245)
* Convert bulk of division to multiplication * Use custom divide() function instead of Dart Sass math module for greater compatibility * Apply suggestions from code review * Fix functions
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
.bd-example {
|
||||
position: relative;
|
||||
padding: 1rem;
|
||||
margin: 1rem (-$grid-gutter-width / 2) 0;
|
||||
margin: 1rem (-$grid-gutter-width * .5) 0;
|
||||
border: solid $gray-300;
|
||||
border-width: 1px 0 0;
|
||||
@include clearfix();
|
||||
@@ -312,8 +312,8 @@
|
||||
}
|
||||
|
||||
.bd-content .highlight {
|
||||
margin-right: (-$grid-gutter-width / 2);
|
||||
margin-left: (-$grid-gutter-width / 2);
|
||||
margin-right: (-$grid-gutter-width * .5);
|
||||
margin-left: (-$grid-gutter-width * .5);
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
margin-right: 0;
|
||||
|
@@ -9,8 +9,8 @@
|
||||
|
||||
.navbar-nav {
|
||||
.nav-link {
|
||||
padding-right: $spacer / 4;
|
||||
padding-left: $spacer / 4;
|
||||
padding-right: $spacer * .25;
|
||||
padding-left: $spacer * .25;
|
||||
color: rgba($white, .85);
|
||||
|
||||
&:hover,
|
||||
|
Reference in New Issue
Block a user