From 1fd134a9b9834a3f0de2405ab3ce871032362e1b Mon Sep 17 00:00:00 2001 From: Braden MacDonald Date: Tue, 26 Mar 2024 12:26:53 -0700 Subject: [PATCH] fix: display of menu items with checkboxes (#3019) --- src/Menu/index.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Menu/index.scss b/src/Menu/index.scss index 75103839c1..e89222665e 100644 --- a/src/Menu/index.scss +++ b/src/Menu/index.scss @@ -74,6 +74,16 @@ margin-left: calc(#{$menu-item-icon-margin-left} * -1); } } + + &.pgn__form-checkbox { + > input { + flex-shrink: 0; // When the menu item text is long, don't squish the checkbox, if present + } + + > div { + overflow: hidden; // Ensure text gets truncated properly if needed + } + } } }