From 5ede38f638c9860f1c58babc6906ba5b294c23de Mon Sep 17 00:00:00 2001 From: Kimo Knowles Date: Fri, 26 Jul 2024 17:53:07 +0200 Subject: [PATCH] Update changelog --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90a0e630..bcc11642 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ > Committed but unreleased changes are put here, at the top. Older releases are detailed chronologically below. +## 2.21.15 (2024-07-26) + +#### Changed + +- `dropdown` - Removed `:line-height` style from the theme. `:line-height` was left-over from old bootstrap css. Bootstrap used it to achieve a semblance of vertical centering of text in the anchor. Since we use a re-com box, we can do vertical centering in a nicer way. + +- `dropdown` - More consistent handling of width/height props. `:width` applies to both anchor and body, while `:height` applies only to the body. You can override this behavior for specific parts using `:anchor-width`, `:anchor-height`, `:body-width` and `:body-height`. + +`:anchor-height`, `:body-height`, `:anchor-width` & `:body-width` props apply more consistently to their parts. + ## 2.21.14 (2024-07-25) #### Added