File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,7 +120,12 @@ const Select: FC<SelectProps> = ({
120120 </ SelectPrimitive . Trigger >
121121
122122 < SelectPrimitive . Portal >
123- < SelectPrimitive . Content className = { classNames ( styles . dropdown ) } >
123+ < SelectPrimitive . Content
124+ position = { inline ? 'popper' : 'item-aligned' }
125+ className = { classNames ( styles . dropdown , {
126+ [ styles . inline ] : inline ,
127+ } ) }
128+ >
124129 < ScrollPrimitive . Root type = "auto" >
125130 < SelectPrimitive . Viewport >
126131 < ScrollPrimitive . Viewport >
Original file line number Diff line number Diff line change @@ -10,10 +10,19 @@ export const IS_DEV_ENV = process.env.NODE_ENV === 'development';
1010 *
1111 * Can be used for conditionally enabling features that we know are Vercel only
1212 *
13- * @see https://vercel.com/docs/concepts/ projects/environment-variables/system-environment-variables#framework-environment-variables
13+ * @see https://vercel.com/docs/projects/environment-variables/system-environment-variables#VERCEL_ENV
1414 */
1515export const VERCEL_ENV = process . env . VERCEL_ENV || undefined ;
1616
17+ /**
18+ * This is used for telling Next.js if we are current during build time or in runtime environment
19+ *
20+ * Can be used for conditionally enabling features that we know are Vercel only
21+ *
22+ * @see https://vercel.com/docs/projects/environment-variables/system-environment-variables#VERCEL_REGION
23+ */
24+ export const VERCEL_REGION = process . env . VERCEL_REGION || undefined ;
25+
1726/**
1827 * This is used for telling Next.js to do a Static Export Build of the Website
1928 *
You can’t perform that action at this time.
0 commit comments