1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Move close icon to components in docs (#28512)

* Move close icon to components

* Remove redundant float from close
This commit is contained in:
Martijn Cuppens 2019-05-10 20:27:22 +02:00 committed by GitHub
parent 06635be7bd
commit 5db281d7c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,4 @@
.close { .close {
float: right;
@include font-size($close-font-size); @include font-size($close-font-size);
font-weight: $close-font-weight; font-weight: $close-font-weight;
line-height: 1; line-height: 1;

View file

@ -2,7 +2,7 @@
layout: docs layout: docs
title: Close icon title: Close icon
description: Use a generic close icon for dismissing content like modals and alerts. 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`. **Be sure to include text for screen readers**, as we've done with `aria-label`.

View file

@ -35,6 +35,7 @@
- title: Button group - title: Button group
- title: Card - title: Card
- title: Carousel - title: Carousel
- title: Close icon
- title: Collapse - title: Collapse
- title: Dropdowns - title: Dropdowns
- title: Forms - title: Forms
@ -56,7 +57,6 @@
pages: pages:
- title: Borders - title: Borders
- title: Clearfix - title: Clearfix
- title: Close icon
- title: Colors - title: Colors
- title: Display - title: Display
- title: Embed - title: Embed