Skip to content

Commit

Permalink
fix border SCSS for bootstrap-extend
Browse files Browse the repository at this point in the history
  • Loading branch information
xizon committed Nov 20, 2024
1 parent c7dcaf1 commit b4b2c69
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions src/components/bootstrap-extend/scss/libs/_responsive-border.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,7 @@
@include media-breakpoint-up($breakpoint) {
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);

.border#{$infix}-top { border-top: $border-width solid $border-color !important; }
.border#{$infix}-end { border-right: $border-width solid $border-color !important; }
.border#{$infix}-bottom { border-bottom: $border-width solid $border-color !important; }
.border#{$infix}-start { border-left: $border-width solid $border-color !important; }

.border#{$infix}-top-0 { border-top: 0 !important; }
.border#{$infix}-end-0 { border-right: 0 !important; }
.border#{$infix}-bottom-0 { border-bottom: 0 !important; }
.border#{$infix}-start-0 { border-left: 0 !important; }

// put before ".border#{$infix}-xxxxx"
.border#{$infix}-x {
border-left: $border-width solid $border-color !important;
border-right: $border-width solid $border-color !important;
Expand All @@ -60,17 +51,23 @@
}
// support of .border-sm (-md, -lg, -xl)
.border#{$infix} {
border-top: $border-width solid $border-color !important;
border-bottom: $border-width solid $border-color !important;
border-left: $border-width solid $border-color !important;
border-right: $border-width solid $border-color !important;
border: $border-width solid $border-color !important;
}
.border#{$infix}-0 {
border-top: 0 !important;
border-bottom: 0 !important;
border-left: 0 !important;
border-right: 0 !important;
border: 0 !important;
}

//
.border#{$infix}-top { border-top: $border-width solid $border-color !important; }
.border#{$infix}-end { border-right: $border-width solid $border-color !important; }
.border#{$infix}-bottom { border-bottom: $border-width solid $border-color !important; }
.border#{$infix}-start { border-left: $border-width solid $border-color !important; }

.border#{$infix}-top-0 { border-top: 0 !important; }
.border#{$infix}-end-0 { border-right: 0 !important; }
.border#{$infix}-bottom-0 { border-bottom: 0 !important; }
.border#{$infix}-start-0 { border-left: 0 !important; }

}
}

0 comments on commit b4b2c69

Please sign in to comment.