From b8aaa951d310dc52ff16b0511ca81c2acdedbb9a Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Wed, 6 Mar 2024 15:29:52 -0700 Subject: [PATCH] Prevent the subregion collection selector options from line breaking --- .../SubRegionExplorer/SubRegionCollectionSelector/index.tsx | 2 +- src/style/SubRegionCollectionSelector.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ControlPanel/RegionSelector/SubRegionExplorer/SubRegionCollectionSelector/index.tsx b/src/components/ControlPanel/RegionSelector/SubRegionExplorer/SubRegionCollectionSelector/index.tsx index 1b63d69..6452f74 100644 --- a/src/components/ControlPanel/RegionSelector/SubRegionExplorer/SubRegionCollectionSelector/index.tsx +++ b/src/components/ControlPanel/RegionSelector/SubRegionExplorer/SubRegionCollectionSelector/index.tsx @@ -69,7 +69,7 @@ const SubRegionCollectionSelector: React.FC = (pro return ( <> -
+
{subRegionCollectionOptions}
{ diff --git a/src/style/SubRegionCollectionSelector.css b/src/style/SubRegionCollectionSelector.css index e2313ca..8930002 100644 --- a/src/style/SubRegionCollectionSelector.css +++ b/src/style/SubRegionCollectionSelector.css @@ -1,5 +1,6 @@ #SubRegionCollectionSelector { white-space: nowrap; + width: min-content; } .sub-region-collection-option { display: inline-block;