diff --git a/frontend/src/metabase/query_builder/components/DataSelector.jsx b/frontend/src/metabase/query_builder/components/DataSelector.jsx
index 94bf77fd42e59143a9828c1d3ced8f4452ca30bd..4604a856a850d428bba19436d9db90c062096046 100644
--- a/frontend/src/metabase/query_builder/components/DataSelector.jsx
+++ b/frontend/src/metabase/query_builder/components/DataSelector.jsx
@@ -828,7 +828,10 @@ export class UnconnectedDataSelector extends Component {
 
     return (
       <span
-        className={className || "px2 py2 text-bold cursor-pointer text-default"}
+        className={
+          className ||
+          "px2 py2 text-bold cursor-pointer text-default flex-no-shrink"
+        }
         style={style}
       >
         {React.createElement(getTriggerElementContent, {