1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

v5: Unify spacing across components (#30564)

Co-Authored-By: Martijn Cuppens <martijn.cuppens@gmail.com>
This commit is contained in:
Mark Otto
2020-04-30 06:17:08 -07:00
committed by GitHub
parent 85c4788ded
commit 3e73039936
3 changed files with 27 additions and 30 deletions

View File

@@ -15,7 +15,7 @@
font-weight: 600;
background-image: escape-svg($dropdown-active-icon);
background-repeat: no-repeat;
background-position: .4rem .6rem;
background-position: right $dropdown-item-padding-x top .6rem;
background-size: .75rem .75rem;
}

View File

@@ -125,6 +125,8 @@ Changes to Reboot, typography, tables, and more.
## Components
- Unified `padding` values for alerts, breadcrumbs, cards, dropdowns, list groups, modals, popovers, and tooltips to be based on our `$spacer` variable. [See #30564](https://github.com/twbs/bootstrap/pull/30564).
### Disabled states
- Disabled states of the buttons, close button, pagination link & form range now have `pointer-events: none` added. This simplifies our codebase and makes it easier to override active states in CSS. [#29296](https://github.com/twbs/bootstrap/pull/29296).