diff options
| author | Martijn Cuppens <[email protected]> | 2019-05-10 20:27:22 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-05-10 20:27:22 +0200 |
| commit | 5db281d7c41c29f3bec46757c47fb8d4c6439b06 (patch) | |
| tree | 8dd89f11d424cf95c9210cfe26c428fd3ac6fa13 | |
| parent | 06635be7bd4e1d469a25e48a0a36c4427f7d7fe9 (diff) | |
| download | bootstrap-5db281d7c41c29f3bec46757c47fb8d4c6439b06.tar.xz bootstrap-5db281d7c41c29f3bec46757c47fb8d4c6439b06.zip | |
Move close icon to components in docs (#28512)
* Move close icon to components
* Remove redundant float from close
| -rw-r--r-- | scss/_close.scss | 1 | ||||
| -rw-r--r-- | site/content/docs/4.3/components/close-icon.md (renamed from site/content/docs/4.3/utilities/close-icon.md) | 2 | ||||
| -rw-r--r-- | site/data/nav.yml | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/scss/_close.scss b/scss/_close.scss index 4f92022c8..d7e7434da 100644 --- a/scss/_close.scss +++ b/scss/_close.scss @@ -1,5 +1,4 @@ .close { - float: right; @include font-size($close-font-size); font-weight: $close-font-weight; line-height: 1; diff --git a/site/content/docs/4.3/utilities/close-icon.md b/site/content/docs/4.3/components/close-icon.md index 8329fd94b..a4bbdf052 100644 --- a/site/content/docs/4.3/utilities/close-icon.md +++ b/site/content/docs/4.3/components/close-icon.md @@ -2,7 +2,7 @@ layout: docs title: Close icon description: Use a generic close icon for dismissing content like modals and alerts. -group: utilities +group: components --- **Be sure to include text for screen readers**, as we've done with `aria-label`. diff --git a/site/data/nav.yml b/site/data/nav.yml index 27d7ba71a..596e3faea 100644 --- a/site/data/nav.yml +++ b/site/data/nav.yml @@ -35,6 +35,7 @@ - title: Button group - title: Card - title: Carousel + - title: Close icon - title: Collapse - title: Dropdowns - title: Forms @@ -56,7 +57,6 @@ pages: - title: Borders - title: Clearfix - - title: Close icon - title: Colors - title: Display - title: Embed |
