mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-07 06:06:47 +02:00
Move close icon to components in docs (#28512)
* Move close icon to components * Remove redundant float from close
This commit is contained in:
@@ -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;
|
||||||
|
@@ -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`.
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user