Skip to content

Commit

Permalink
Merge branch 'master' into master-ysds-valid-radius
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Feb 14, 2020
2 parents 25cbd01 + 7fd6dd9 commit cb49a84
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
4 changes: 0 additions & 4 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# https://dependabot.com/docs/config-file/
version: 1
update_configs:
# Keep package.json (& lockfiles) up to date as soon as
# new versions are published to the npm registry
- package_manager: "javascript"
directory: "/"
update_schedule: "weekly"
# Apply default reviewer and label to created pull requests
default_reviewers:
- "Johann-S"
- "XhmikosR"
default_labels:
- "dependencies"
Expand Down
1 change: 0 additions & 1 deletion build/change-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ function main(args) {
'.js',
'.json',
'.md',
'.nuspec',
'.scss',
'.txt',
'.yml'
Expand Down
6 changes: 6 additions & 0 deletions site/assets/scss/_component-examples.scss
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,12 @@
}
}

.bd-example-rounded-utils {
[class*="rounded"] {
margin: .25rem;
}
}

//
// Code snippets
//
Expand Down
9 changes: 4 additions & 5 deletions site/assets/scss/_navbar.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
.bd-navbar {
min-height: 4rem;
padding: .625rem 0;
background-color: $bd-purple-bright;

@include media-breakpoint-down(md) {
.navbar-nav-scroll {
width: 100%;
height: 2.5rem;
margin-top: .25rem;
overflow: hidden;

.navbar-nav {
padding-bottom: 2rem;
padding: .5rem 0;
margin: -.5rem 0;
overflow-x: auto;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
Expand All @@ -22,14 +21,14 @@
.nav-link {
color: rgba($white, .85);

&.active,
&:hover,
&:focus {
color: $white;
}

&.active {
font-weight: 600;
color: $white;
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions site/content/docs/4.3/utilities/borders.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Change the border color using utilities built on our theme colors.

Add classes to an element to easily round its corners.

{{< example >}}
{{< example class="bd-example-rounded-utils" >}}
{{< placeholder width="75" height="75" class="rounded" title="Example rounded image" >}}
{{< placeholder width="75" height="75" class="rounded-top" title="Example top rounded image" >}}
{{< placeholder width="75" height="75" class="rounded-right" title="Example right rounded image" >}}
Expand All @@ -63,7 +63,7 @@ Add classes to an element to easily round its corners.

Use `.rounded-lg` or `.rounded-sm` for larger or smaller border-radius.

{{< example >}}
{{< example class="bd-example-rounded-utils" >}}
{{< placeholder width="75" height="75" class="rounded-sm" title="Example small rounded image" >}}
{{< placeholder width="75" height="75" class="rounded-lg" title="Example large rounded image" >}}
{{< /example >}}
6 changes: 3 additions & 3 deletions site/layouts/partials/docs-navbar.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar px-0">
<div class="container-xl flex-wrap flex-md-nowrap py-0 px-3">
<a class="navbar-brand mr-0 mr-md-2" href="/" aria-label="Bootstrap">
<header class="navbar navbar-expand navbar-dark bd-navbar">
<div class="container-xl flex-wrap flex-md-nowrap">
<a class="navbar-brand mr-2" href="/" aria-label="Bootstrap">
{{ partial "icons/bootstrap-logo-solid.svg" (dict "class" "d-block" "width" "32" "height" "32") }}
</a>

Expand Down

0 comments on commit cb49a84

Please sign in to comment.