-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a bug where an element with automatic
height
and specified `max…
…-height` caused subsequent elements to be clamped incorrectly. Resolves #2
- Loading branch information
Showing
7 changed files
with
146 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
## 0.2.3 | ||
* Fix [a bug](https://github.com/makandra/superclamp/issues/2) where an element with automatic `height` and specified `max-height` caused subsequent elements to be clamped incorrectly. | ||
|
||
## 0.2.2 | ||
* Fix the size calculation in IE for elements using rem | ||
|
||
## 0.2.0 | ||
* Remove jQuery dependency | ||
|
||
## 0.1.5 | ||
* Preserve non-breaking spaces when clamping | ||
|
||
## 0.1.4 | ||
* Calling `reclampAll` with an event argument now reclamps the document | ||
|
||
## 0.1.3 | ||
* Consider `max-height`/`max-width` and improve calculation of fillable area | ||
* support clamping properly after a font change | ||
|
||
## 0.1.2 | ||
* Trigger the `superclamp:done` event when an element was clamped | ||
|
||
## 0.1.1 | ||
* `reclampAll()` accepts a container element | ||
* `clamp()`returns a jQuery collection | ||
|
||
## 0.1.0 | ||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,4 +56,4 @@ DEPENDENCIES | |
uglifier | ||
|
||
BUNDLED WITH | ||
1.10.6 | ||
2.1.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.