diff --git a/packages/shared/src/components/modals/HighlightPostModal.tsx b/packages/shared/src/components/modals/HighlightPostModal.tsx index 5ea0527089..ca47534cff 100644 --- a/packages/shared/src/components/modals/HighlightPostModal.tsx +++ b/packages/shared/src/components/modals/HighlightPostModal.tsx @@ -688,7 +688,7 @@ export function HighlightPostModal({ } > -
+
{!shouldUseMobileLayout && (
diff --git a/packages/webapp/tailwind.config.ts b/packages/webapp/tailwind.config.ts index f4ffc3928b..79329a3556 100644 --- a/packages/webapp/tailwind.config.ts +++ b/packages/webapp/tailwind.config.ts @@ -4,16 +4,18 @@ import config from '@dailydotdev/shared/tailwind.config'; import path from 'path'; import * as fs from 'fs'; +const sharedSrcPath = fs.realpathSync('./node_modules/@dailydotdev/shared/src'); + export default { ...config, content: [ './app/**/*.{js,ts,jsx,tsx}', './pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}', - path.join( - fs.realpathSync('./node_modules/@dailydotdev/shared/src'), - '**/*.{js,ts,jsx,tsx}', - ), + path.join(sharedSrcPath, '**/*.{js,ts,jsx,tsx}'), + `!${path.join(sharedSrcPath, '**/*.spec.{js,ts,jsx,tsx}')}`, + `!${path.join(sharedSrcPath, '**/*.test.{js,ts,jsx,tsx}')}`, + `!${path.join(sharedSrcPath, '**/__tests__/**/*.{js,ts,jsx,tsx}')}`, ], // eslint-disable-next-line } satisfies Config;