From 4a930ec2d4ca40a090dd48b7bcd8d9ad1d3d6f5d Mon Sep 17 00:00:00 2001 From: Kimo Knowles Date: Thu, 26 Sep 2024 20:08:34 +0200 Subject: [PATCH] [single-dropdown] Remove self-alignment https://day8.slack.com/archives/C02KD04D3/p1727319473541689 --- CHANGELOG.md | 3 ++- src/re_com/dropdown.cljs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 810fbd5e..ba2cb0d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,11 @@ > Committed but unreleased changes are put here, at the top. Older releases are detailed chronologically below. -## 2.21.31 (2024-09-28) +## 2.22.0 (2024-09-28) #### Changed +- `single-dropdown` - No longer aligns itself at the beginning of a flex container (i.e., removed ``align-self: flex-start`). - `nested-grid` - Row-header labels are now sticky within their grid areas. #### Added diff --git a/src/re_com/dropdown.cljs b/src/re_com/dropdown.cljs index eb14a0b0..2ff83320 100644 --- a/src/re_com/dropdown.cljs +++ b/src/re_com/dropdown.cljs @@ -1035,7 +1035,7 @@ (when @drop-showing? "chosen-with-drop ") class) ;; Prevent user text selection :style (merge (flex-child-style (if width "0 0 auto" "auto")) - (align-style :align-self :start) + #_(align-style :align-self :start) {:width width} style)} (when tooltip