aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-08-22 10:56:04 -0700
committerMark Otto <[email protected]>2017-09-05 20:52:47 -0700
commit2d3cbe46c2c31d40cd3c58e526dd85c605c9ba8d (patch)
tree91111b360c0d20f90af7f79656e708c5508c3794 /docs
parentb2b4ee2008421a8e64cbfa8d7c365c5ac21244fc (diff)
downloadbootstrap-2d3cbe46c2c31d40cd3c58e526dd85c605c9ba8d.tar.xz
bootstrap-2d3cbe46c2c31d40cd3c58e526dd85c605c9ba8d.zip
headings, pointer events
Diffstat (limited to 'docs')
-rw-r--r--docs/4.0/migration.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/4.0/migration.md b/docs/4.0/migration.md
index c9b0f5b8f..c66799c23 100644
--- a/docs/4.0/migration.md
+++ b/docs/4.0/migration.md
@@ -9,11 +9,17 @@ toc: true
## Beta 2 changes
While in beta, we aim to have no breaking changes. However, things don't always go as planned. Below are the breaking changes to bear in mind when moving from Beta 1 to Beta 2.
+### Breaking
+
- Removed `$badge-color` variable and its usage on `.badge`. We use a color contrast function to pick a `color` based on the `background-color`, so the variable is unnecessary.
- Renamed `grayscale()` function to `gray()` to avoid breaking conflict with the CSS native `grayscale` filter.
- Renamed `.table-inverse`, `.thead-inverse`, and `.thead-default` to `.*-dark` and `.*-light`, matching our color schemes used elsewhere.
- Responsive tables now generate classes for each grid breakpoint. This breaks from Beta 1 in that the `.table-responsive` you've been using is more like `.table-responsive-md`. You may now use `.table-responsive` or `.table-responsive-{sm,md,lg,xl}` as needed.
+### Highlights
+
+- Introduced new `pointer-events` usage on modals. The outer `.modal-dialog` passes through events with `pointer-events: none` for custom click handling (making it possible to just listen on the `.modal-backdrop` for any clicks), and then counteracts it for the actual `.modal-content` with `pointer-events: auto`.
+
## Summary