今天我们发布了 Bootstrap 2.2.2, 这是另外一个很大的 bugfix 版本,主要是侧重于 CSS 和文档方面的问题修复,也有很小一部分的 JS问题,主要包括:
- Docs:
- Assets (illustrations and examples) are now retina-ready.
- Replaced Placehold.it with Holder.js, a client-side and retina-ready placeholder image tool.
- Dropdowns: Temporary fix added for dropdowns on mobile to prevent them from closing early.
- Popovers:
- No longer inherits
font-size: 0;
when placed in button groups. - Arrows refactored to work in IE8, and use less code.
- Plugin no longer inserts popover content into a
<p>
, but rather directly into.popover-content
.
- No longer inherits
- Labels and badges: Now automatically collapse if they have no content.
- Tables: Nesting support with
.table-bordered
and.table-striped
greatly improved. - Typeahead:
- Now inserts dropdown menu after the input instead of at the close of the document.
- Hitting escape will place focus back on the
<input>
.
- Print styles, from HTML5 Boilerplate, have been added.
完整列表请看 2.2.2 milestone on GitHub.
我们还将发布一个 2.2.3 版本,因为还有一些问题没法在 2.2.2 中解决,然后接下来大部分的工作会放在 3.0 版本的开发上,更多的细节我们将在下周提供。