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 {
float: right;
@include font-size($close-font-size);
font-weight: $close-font-weight;
line-height: 1;

View File

@ -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`.

View File

@ -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