The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Re-enable disabled lint rules and right-size CI runners (#18461)
Charles Bochetef499b6d475b
diff --git a/.github/actions/nx-affected/action.yaml b/.github/actions/nx-affected/action.yamlindex 8dcb4fa0f11..d2d87719221 100644--- a/.github/actions/nx-affected/action.yaml+++ b/.github/actions/nx-affected/action.yaml@@ -19,7 +19,12 @@ runs:shell: bashrun: git fetch origin main --depth=1- name: Get last successful commit+ if: env.NX_BASE == ''uses: nrwl/nx-set-shas@v4+ - name: Fallback to origin/main if no base found+ if: env.NX_BASE == ''+ shell: bash+ run: echo "NX_BASE=$(git rev-parse origin/main)" >> $GITHUB_ENV- name: Run affected commandshell: bashenv:diff --git a/.github/workflows/ci-emails.yaml b/.github/workflows/ci-emails.yamlindex 941eae52320..f46cdf85b5b 100644--- a/.github/workflows/ci-emails.yaml+++ b/.github/workflows/ci-emails.yaml@@ -25,7 +25,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 10- runs-on: ubuntu-latest-8-cores+ runs-on: ubuntu-lateststeps:- name: Fetch custom Github Actions and base branch historyuses: actions/checkout@v4diff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yamlindex 6fcae868395..aabc6c5e5fa 100644--- a/.github/workflows/ci-front.yaml+++ b/.github/workflows/ci-front.yaml@@ -2,6 +2,7 @@ name: CI Fronton:pull_request:+ merge_group:permissions:contents: read@@ -17,6 +18,7 @@ env:jobs:changed-files-check:+ if: github.event_name != 'merge_group'uses: ./.github/workflows/changed-files.yamlwith:files: |@@ -63,7 +65,7 @@ jobs:key: ${{ env.STORYBOOK_BUILD_CACHE_KEY_FOR_SAVE_ACTION }}front-sb-test:timeout-minutes: 30- runs-on: ubuntu-latest-8-cores+ runs-on: ubuntu-latest-4-coresneeds: front-sb-buildstrategy:fail-fast: false@@ -149,32 +151,6 @@ jobs:# npx nyc merge coverage-artifacts ${{ env.PATH_TO_COVERAGE }}/coverage-storybook.json# - name: Checking coverage# run: npx nx storybook:coverage twenty-front --checkCoverage=true --configuration=${{ matrix.storybook_scope }}- front-chromatic-deployment:- timeout-minutes: 30- if: false- needs: front-sb-build- runs-on: ubuntu-latest-8-cores- env:- REACT_APP_SERVER_BASE_URL: http://127.0.0.1:3000- CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}- steps:- - uses: actions/checkout@v4- with:- fetch-depth: 10- - name: Install dependencies- uses: ./.github/actions/yarn-install- - name: Restore storybook build cache- uses: ./.github/actions/restore-cache- with:- key: ${{ env.STORYBOOK_BUILD_CACHE_KEY_FOR_RESTORE_ACTION }}- - name: Front / Write .env- run: |- cd packages/twenty-front- touch .env- echo "" >> .env- echo "REACT_APP_SERVER_BASE_URL=$REACT_APP_SERVER_BASE_URL" >> .env- - name: Publish to Chromatic- run: npx nx run twenty-front:chromatic:cifront-task:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'diff --git a/.github/workflows/ci-merge-queue.yaml b/.github/workflows/ci-merge-queue.yamlindex 00ddb3e5434..722b4d56b0d 100644--- a/.github/workflows/ci-merge-queue.yaml+++ b/.github/workflows/ci-merge-queue.yaml@@ -10,7 +10,7 @@ permissions:contents: readconcurrency:- group: ${{ github.workflow }}-${{ github.ref }}+ group: ${{ github.workflow }}-${{ github.event_name == 'merge_group' && github.event.merge_group.base_ref || github.ref }}cancel-in-progress: truejobs:@@ -54,6 +54,18 @@ jobs:- name: Install dependenciesuses: ./.github/actions/yarn-install+ - name: Restore Nx build cache+ uses: actions/cache/restore@v4+ with:+ key: v4-e2e-build-${{ github.ref_name }}-${{ github.sha }}+ restore-keys: |+ v4-e2e-build-${{ github.ref_name }}-+ v4-e2e-build-main-+ path: |+ .nx+ node_modules/.cache+ packages/*/node_modules/.cache+- name: Build twenty-sharedrun: npx nx build twenty-shared@@ -71,6 +83,16 @@ jobs:- name: Build serverrun: npx nx build twenty-server+ - name: Save Nx build cache+ if: always()+ uses: actions/cache/save@v4+ with:+ key: v4-e2e-build-${{ github.ref_name }}-${{ github.sha }}+ path: |+ .nx+ node_modules/.cache+ packages/*/node_modules/.cache+- name: Create and setup databaserun: |PGPASSWORD=postgres psql -h localhost -p 5432 -U postgres -d postgres -c 'CREATE DATABASE "default";'diff --git a/.github/workflows/ci-sdk.yaml b/.github/workflows/ci-sdk.yamlindex d8a1cc7acd1..15121d91cd9 100644--- a/.github/workflows/ci-sdk.yaml+++ b/.github/workflows/ci-sdk.yaml@@ -2,6 +2,7 @@ name: CI SDKon:pull_request:+ merge_group:permissions:contents: read@@ -12,6 +13,7 @@ concurrency:jobs:changed-files-check:+ if: github.event_name != 'merge_group'uses: ./.github/workflows/changed-files.yamlwith:files: |@@ -48,7 +50,7 @@ jobs:tasks: ${{ matrix.task }}sdk-e2e-test:timeout-minutes: 30- runs-on: ubuntu-latest-8-cores+ runs-on: ubuntu-latest-4-coresneeds: [changed-files-check, sdk-test]if: needs.changed-files-check.outputs.any_changed == 'true'services:diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yamlindex e88ea91085c..5b10c359ec7 100644--- a/.github/workflows/ci-server.yaml+++ b/.github/workflows/ci-server.yaml@@ -2,6 +2,7 @@ name: CI Serveron:pull_request:+ merge_group:permissions:contents: read@@ -15,6 +16,7 @@ env:jobs:changed-files-check:+ if: github.event_name != 'merge_group'uses: ./.github/workflows/changed-files.yamlwith:files: |@@ -30,7 +32,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 30- runs-on: ubuntu-latest-8-cores+ runs-on: ubuntu-latest-4-coressteps:- name: Fetch custom Github Actions and base branch historyuses: actions/checkout@v4@@ -58,7 +60,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 30- runs-on: ubuntu-latest-8-cores+ runs-on: ubuntu-latest-4-coressteps:- name: Fetch custom Github Actions and base branch historyuses: actions/checkout@v4@@ -77,7 +79,7 @@ jobs:server-validation:needs: server-buildtimeout-minutes: 30- runs-on: ubuntu-latest-8-cores+ runs-on: ubuntu-latest-4-coresservices:postgres:image: twentycrm/twenty-postgres-spilo@@ -177,7 +179,7 @@ jobs:server-test:needs: server-buildtimeout-minutes: 30- runs-on: ubuntu-latest-8-cores+ runs-on: ubuntu-latest-4-coressteps:- name: Fetch custom Github Actions and base branch historyuses: actions/checkout@v4@@ -199,7 +201,7 @@ jobs:server-integration-test:timeout-minutes: 30- runs-on: ubuntu-latest-8-cores+ runs-on: ubuntu-latest-4-coresneeds: server-buildstrategy:fail-fast: falsediff --git a/.github/workflows/ci-shared.yaml b/.github/workflows/ci-shared.yamlindex 313fc937467..73a4735d1fb 100644--- a/.github/workflows/ci-shared.yaml+++ b/.github/workflows/ci-shared.yaml@@ -2,6 +2,7 @@ name: CI Sharedon:pull_request:+ merge_group:permissions:contents: read@@ -12,6 +13,7 @@ concurrency:jobs:changed-files-check:+ if: github.event_name != 'merge_group'uses: ./.github/workflows/changed-files.yamlwith:files: |diff --git a/.github/workflows/ci-test-docker-compose.yaml b/.github/workflows/ci-test-docker-compose.yamlindex 1b4309b9393..162aa159b9b 100644--- a/.github/workflows/ci-test-docker-compose.yaml+++ b/.github/workflows/ci-test-docker-compose.yaml@@ -5,6 +5,7 @@ permissions:on:pull_request:+ merge_group:concurrency:group: ${{ github.workflow }}-${{ github.ref }}@@ -12,6 +13,7 @@ concurrency:jobs:changed-files-check:+ if: github.event_name != 'merge_group'uses: ./.github/workflows/changed-files.yamlwith:files: |diff --git a/.github/workflows/ci-website.yaml b/.github/workflows/ci-website.yamlindex 712f97ded27..3878b24f0f6 100644--- a/.github/workflows/ci-website.yaml+++ b/.github/workflows/ci-website.yaml@@ -5,6 +5,7 @@ permissions:on:pull_request:+ merge_group:concurrency:group: ${{ github.workflow }}-${{ github.ref }}@@ -12,6 +13,7 @@ concurrency:jobs:changed-files-check:+ if: github.event_name != 'merge_group'uses: ./.github/workflows/changed-files.yamlwith:files: |diff --git a/.github/workflows/ci-zapier.yaml b/.github/workflows/ci-zapier.yamlindex 05c2004a34c..4be30a93c3c 100644--- a/.github/workflows/ci-zapier.yaml+++ b/.github/workflows/ci-zapier.yaml@@ -26,7 +26,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 30- runs-on: ubuntu-latest-8-cores+ runs-on: ubuntu-latest-4-coresservices:postgres:image: twentycrm/twenty-postgres-spilodiff --git a/packages/twenty-e2e-testing/lib/pom/loginPage.ts b/packages/twenty-e2e-testing/lib/pom/loginPage.tsindex ccd1ab22efc..1d51a8e14c4 100644--- a/packages/twenty-e2e-testing/lib/pom/loginPage.ts+++ b/packages/twenty-e2e-testing/lib/pom/loginPage.ts@@ -106,7 +106,7 @@ export class LoginPage {}async typeEmail(email: string) {- await this.emailField.fill(email, { timeout: 10000 });+ await this.emailField.fill(email, { timeout: 30000 });}async typePassword(email: string) {diff --git a/packages/twenty-e2e-testing/tests/authentication/return-to-path.spec.ts b/packages/twenty-e2e-testing/tests/authentication/return-to-path.spec.tsindex b3b1e54f8f3..d81b23c8fe3 100644--- a/packages/twenty-e2e-testing/tests/authentication/return-to-path.spec.ts+++ b/packages/twenty-e2e-testing/tests/authentication/return-to-path.spec.ts@@ -9,18 +9,18 @@ const test = base.extend<{ loginPage: LoginPage }>({});const loginAndSelectWorkspace = async (loginPage: LoginPage, page: any) => {- await page.waitForLoadState('networkidle');+ await page.waitForLoadState('domcontentloaded');await loginPage.clickLoginWithEmailIfVisible();await loginPage.typeEmail(process.env.DEFAULT_LOGIN!);await loginPage.clickContinueButton();await loginPage.typePassword(process.env.DEFAULT_PASSWORD!);- await page.waitForLoadState('networkidle');+ await page.waitForLoadState('domcontentloaded');await loginPage.clickSignInButton();- await page.waitForLoadState('networkidle');+ await page.waitForLoadState('domcontentloaded');const workspaceButton = page.getByText('Apple', { exact: true });- await workspaceButton.waitFor({ state: 'visible', timeout: 15000 }).catch(+ await workspaceButton.waitFor({ state: 'visible', timeout: 30000 }).catch(() => {// Single workspace mode — no workspace selection},@@ -34,7 +34,7 @@ const loginAndSelectWorkspace = async (loginPage: LoginPage, page: any) => {() =>!window.location.href.includes('verify') &&!window.location.href.includes('welcome'),- { timeout: 15000 },+ { timeout: 30000 },);};@@ -82,13 +82,13 @@ test.describe('Return-to-path after login', () => {page,loginPage,}) => {- const targetPath =- '/authorize?clientId=test-client-id&redirectUrl=https%3A%2F%2Fexample.com%2Fcallback';+ const targetPath = '/settings/accounts';+ const targetPathWithParams = `${targetPath}?tab=emails&filter=unread`;await test.step('Navigate to path with query params while logged out',async () => {- await page.goto(targetPath);+ await page.goto(targetPathWithParams);await page.waitForURL('**/welcome');await page.waitForLoadState('domcontentloaded');},@@ -101,14 +101,15 @@ test.describe('Return-to-path after login', () => {await test.step('Verify redirected to original path with query params',async () => {- await page.waitForURL('**/authorize**', { timeout: 15000 });+ await page.waitForURL(`**${targetPath}**`, {+ timeout: 30000,+ waitUntil: 'commit',+ });const url = new URL(page.url());- expect(url.pathname).toBe('/authorize');- expect(url.searchParams.get('clientId')).toBe('test-client-id');- expect(url.searchParams.get('redirectUrl')).toBe(- 'https://example.com/callback',- );+ expect(url.pathname).toBe(targetPath);+ expect(url.searchParams.get('tab')).toBe('emails');+ expect(url.searchParams.get('filter')).toBe('unread');},);});diff --git a/packages/twenty-front/.oxlintrc.json b/packages/twenty-front/.oxlintrc.jsonindex 98e2194d5d1..dc2ceb361b4 100644--- a/packages/twenty-front/.oxlintrc.json+++ b/packages/twenty-front/.oxlintrc.json@@ -97,7 +97,7 @@"twenty/effect-components": "error","twenty/no-hardcoded-colors": "error","twenty/matching-state-variable": "error",- "twenty/sort-css-properties-alphabetically": "off",+ "twenty/sort-css-properties-alphabetically": "error","twenty/styled-components-prefixed-with-styled": "error","twenty/no-state-useref": "error","twenty/component-props-naming": "error",diff --git a/packages/twenty-front/src/loading/components/LeftPanelSkeletonLoader.tsx b/packages/twenty-front/src/loading/components/LeftPanelSkeletonLoader.tsxindex c151bdf5b1a..f4e7b6a1a18 100644--- a/packages/twenty-front/src/loading/components/LeftPanelSkeletonLoader.tsx+++ b/packages/twenty-front/src/loading/components/LeftPanelSkeletonLoader.tsx@@ -35,12 +35,12 @@ const StyledSkeletonContainer = styled.div``;const StyledSkeletonTitleContainer = styled.div`+ align-items: flex-start;display: flex;flex-direction: column;- justify-content: center;- align-items: flex-start;gap: 10px;height: 32px;+ justify-content: center;max-width: 196px;min-width: 196px;diff --git a/packages/twenty-front/src/loading/components/MainNavigationDrawerItemsSkeletonLoader.tsx b/packages/twenty-front/src/loading/components/MainNavigationDrawerItemsSkeletonLoader.tsxindex 760599d99d4..334f9d608a1 100644--- a/packages/twenty-front/src/loading/components/MainNavigationDrawerItemsSkeletonLoader.tsx+++ b/packages/twenty-front/src/loading/components/MainNavigationDrawerItemsSkeletonLoader.tsx@@ -10,8 +10,8 @@ const StyledSkeletonContainer = styled.div`display: flex;flex-direction: column;gap: 6px;- min-width: 196px;max-width: 196px;+ min-width: 196px;`;export const MainNavigationDrawerItemsSkeletonLoader = ({diff --git a/packages/twenty-front/src/loading/components/RightPanelSkeletonLoader.tsx b/packages/twenty-front/src/loading/components/RightPanelSkeletonLoader.tsxindex b6ec13f2c43..bd14d6f9cdf 100644--- a/packages/twenty-front/src/loading/components/RightPanelSkeletonLoader.tsx+++ b/packages/twenty-front/src/loading/components/RightPanelSkeletonLoader.tsx@@ -44,11 +44,11 @@ const StyledRightPanelContainer = styled.div``;const StyledRightPanelFlexContainer = styled.div`+ align-items: center;display: flex;flex-direction: row;- justify-content: flex-end;- align-items: center;height: 32px;+ justify-content: flex-end;margin-bottom: 12px;`;diff --git a/packages/twenty-front/src/loading/components/SidePanelSkeletonLoader.tsx b/packages/twenty-front/src/loading/components/SidePanelSkeletonLoader.tsxindex f794f6b634f..60ac5054a51 100644--- a/packages/twenty-front/src/loading/components/SidePanelSkeletonLoader.tsx+++ b/packages/twenty-front/src/loading/components/SidePanelSkeletonLoader.tsx@@ -7,8 +7,8 @@ import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledSidePanelContainer = styled.div`display: flex;flex-direction: column;- width: 100%;padding: ${themeCssVariables.spacing[4]};+ width: 100%;`;const StyledSkeletonLoader = () => {diff --git a/packages/twenty-front/src/loading/components/UserOrMetadataLoader.tsx b/packages/twenty-front/src/loading/components/UserOrMetadataLoader.tsxindex aba9881ac63..e49c4407df9 100644--- a/packages/twenty-front/src/loading/components/UserOrMetadataLoader.tsx+++ b/packages/twenty-front/src/loading/components/UserOrMetadataLoader.tsx@@ -16,9 +16,9 @@ const StyledContainer = styled.div`gap: 12px;height: 100dvh;min-width: ${NAVIGATION_DRAWER_CONSTRAINTS.default}px;- width: 100%;- padding: 12px 8px 12px 8px;overflow: hidden;+ padding: 12px 8px 12px 8px;+ width: 100%;@media (max-width: ${MOBILE_VIEWPORT}px) {width: 100%;diff --git a/packages/twenty-front/src/modules/action-menu/components/PageHeaderActionMenuButtons.tsx b/packages/twenty-front/src/modules/action-menu/components/PageHeaderActionMenuButtons.tsxindex a6811eaaa2e..8150264d7e6 100644--- a/packages/twenty-front/src/modules/action-menu/components/PageHeaderActionMenuButtons.tsx+++ b/packages/twenty-front/src/modules/action-menu/components/PageHeaderActionMenuButtons.tsx@@ -6,8 +6,8 @@ import { useContext } from 'react';import { ThemeContext } from 'twenty-ui/theme-constants';const StyledActionContainer = styled(motion.div)`- display: flex;align-items: center;+ display: flex;justify-content: center;`;diff --git a/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuDropdown.tsx b/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuDropdown.tsxindex d649b9182e2..2a788c73e57 100644--- a/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuDropdown.tsx+++ b/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuDropdown.tsx@@ -23,13 +23,13 @@ import { IconLayoutSidebarRightExpand } from 'twenty-ui/display';import { MenuItem } from 'twenty-ui/navigation';const StyledDropdownMenuContainer = styled.div`- width: 100%;- height: 100%;-+ align-items: center;display: flex;+flex-direction: column;+ height: 100%;justify-content: center;- align-items: center;+ width: 100%;`;export const RecordIndexActionMenuDropdown = () => {diff --git a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventDetails.tsx b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventDetails.tsxindex e867707f2bd..c538eb7b7ab 100644--- a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventDetails.tsx+++ b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventDetails.tsx@@ -42,15 +42,15 @@ type CalendarEventDetailsProps = {const INPUT_ID_PREFIX = 'calendar-event-details';const StyledContainer = styled.div`- background: ${themeCssVariables.background.secondary};align-items: flex-start;+ background: ${themeCssVariables.background.secondary};border-bottom: 1px solid ${themeCssVariables.border.color.medium};+ box-sizing: border-box;display: flex;flex-direction: column;gap: ${themeCssVariables.spacing[6]};padding: ${themeCssVariables.spacing[6]};width: 100%;- box-sizing: border-box;`;const StyledEventChipWrapper = styled.span`diff --git a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventParticipantsResponseStatusField.tsx b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventParticipantsResponseStatusField.tsxindex 094c124771a..4a1257785be 100644--- a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventParticipantsResponseStatusField.tsx+++ b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventParticipantsResponseStatusField.tsx@@ -12,13 +12,13 @@ import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledInlineCellBaseContainer = styled.div`align-items: center;box-sizing: border-box;- width: 100%;display: flex;-gap: ${themeCssVariables.spacing[1]};position: relative;+user-select: none;+ width: 100%;`;const StyledPropertyBoxContainer = styled.div`diff --git a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventRow.tsx b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventRow.tsxindex 96a208dc1d9..9e846267eb2 100644--- a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventRow.tsx+++ b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventRow.tsx@@ -25,11 +25,11 @@ type CalendarEventRowProps = {const StyledContainer = styled.div<{ showTitle?: boolean }>`align-items: center;+ cursor: ${({ showTitle }) => (showTitle ? 'pointer' : 'not-allowed')};display: inline-flex;gap: ${themeCssVariables.spacing[3]};height: ${themeCssVariables.spacing[6]};position: relative;- cursor: ${({ showTitle }) => (showTitle ? 'pointer' : 'not-allowed')};`;const StyledAttendanceIndicator = styled.div<{ active?: boolean }>`@@ -37,23 +37,23 @@ const StyledAttendanceIndicator = styled.div<{ active?: boolean }>`active? themeCssVariables.tag.background.red: themeCssVariables.tag.background.gray};+ border-radius: ${themeCssVariables.border.radius.xs};height: 100%;width: ${themeCssVariables.spacing[1]};- border-radius: ${themeCssVariables.border.radius.xs};`;const StyledLabels = styled.div`align-items: center;- display: flex;color: ${themeCssVariables.font.color.primary};- gap: ${themeCssVariables.spacing[2]};+ display: flex;flex: 1 0 auto;+ gap: ${themeCssVariables.spacing[2]};`;const StyledTime = styled.div`align-items: center;- display: flex;color: ${themeCssVariables.font.color.tertiary};+ display: flex;gap: ${themeCssVariables.spacing[1]};width: ${themeCssVariables.spacing[26]};`;diff --git a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventsCard.tsx b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventsCard.tsxindex 25a660a873f..349e44833bd 100644--- a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventsCard.tsx+++ b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventsCard.tsx@@ -34,9 +34,9 @@ const StyledContainer = styled.div`display: flex;flex-direction: column;gap: ${themeCssVariables.spacing[8]};+ overflow: scroll;padding: ${themeCssVariables.spacing[6]};width: 100%;- overflow: scroll;`;const StyledYear = styled.span`diff --git a/packages/twenty-front/src/modules/activities/components/ParticipantChip.tsx b/packages/twenty-front/src/modules/activities/components/ParticipantChip.tsxindex dd4672d24d1..4f69b35f441 100644--- a/packages/twenty-front/src/modules/activities/components/ParticipantChip.tsx+++ b/packages/twenty-front/src/modules/activities/components/ParticipantChip.tsx@@ -29,12 +29,12 @@ const StyledContainer = styled.div`const StyledChip = styled.div`align-items: center;+ box-sizing: border-box;display: flex;- padding: ${themeCssVariables.spacing[1]};+ gap: ${themeCssVariables.spacing[1]};height: 20px;- box-sizing: border-box;+ padding: ${themeCssVariables.spacing[1]};white-space: nowrap;- gap: ${themeCssVariables.spacing[1]};`;type ParticipantChipVariant = 'default' | 'bold';diff --git a/packages/twenty-front/src/modules/activities/components/SkeletonLoader.tsx b/packages/twenty-front/src/modules/activities/components/SkeletonLoader.tsxindex 14cfaf2e13c..1d98bcac36a 100644--- a/packages/twenty-front/src/modules/activities/components/SkeletonLoader.tsx+++ b/packages/twenty-front/src/modules/activities/components/SkeletonLoader.tsx@@ -4,14 +4,14 @@ import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledSkeletonContainer = styled.div`+ align-content: flex-start;align-items: center;- width: 100%;- padding: ${themeCssVariables.spacing[8]};display: flex;flex-direction: column;- gap: ${themeCssVariables.spacing[4]};flex-wrap: wrap;- align-content: flex-start;+ gap: ${themeCssVariables.spacing[4]};+ padding: ${themeCssVariables.spacing[8]};+ width: 100%;`;const StyledSkeletonSubSection = styled.div`diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadHeader.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadHeader.tsxindex e9b2a362f8f..3d25d8d1933 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadHeader.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadHeader.tsx@@ -13,12 +13,12 @@ type EmailThreadHeaderProps = {const StyledContainer = styled.div`align-items: flex-start;+ background: ${themeCssVariables.background.secondary};+ border-bottom: 1px solid ${themeCssVariables.border.color.medium};display: flex;flex-direction: column;- padding: ${themeCssVariables.spacing[6]};gap: ${themeCssVariables.spacing[6]};- border-bottom: 1px solid ${themeCssVariables.border.color.medium};- background: ${themeCssVariables.background.secondary};+ padding: ${themeCssVariables.spacing[6]};`;const StyledHead = styled.div`@@ -26,10 +26,10 @@ const StyledHead = styled.div``;const StyledHeading = styled.h2`+ color: ${themeCssVariables.font.color.primary};margin: 0;margin-bottom: ${themeCssVariables.spacing[3]};max-width: 100%;- color: ${themeCssVariables.font.color.primary};overflow: hidden;text-overflow: ellipsis;white-space: nowrap;diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessage.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessage.tsxindex 3cefc855877..b219ab94a36 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessage.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessage.tsx@@ -21,8 +21,8 @@ const StyledThreadMessage = styled.div``;const StyledThreadMessageHeader = styled.div`- display: flex;cursor: pointer;+ display: flex;flex-direction: column;justify-content: space-between;margin-bottom: ${themeCssVariables.spacing[2]};diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageBody.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageBody.tsxindex 20e94c40190..0bf2b32297b 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageBody.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageBody.tsx@@ -9,8 +9,8 @@ const StyledThreadMessageBody = styled(motion.div)`display: flex;flex-direction: column;margin-top: ${themeCssVariables.spacing[4]};- white-space: pre-line;overflow-wrap: break-word;+ white-space: pre-line;a {color: ${themeCssVariables.font.color.primary};diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageBodyPreview.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageBodyPreview.tsxindex 3c2a044f335..6809f884b1f 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageBodyPreview.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageBodyPreview.tsx@@ -4,10 +4,10 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledThreadMessageBodyPreview = styled.div`color: ${themeCssVariables.font.color.tertiary};+ font-size: ${themeCssVariables.font.size.sm};overflow: hidden;text-overflow: ellipsis;white-space: nowrap;- font-size: ${themeCssVariables.font.size.sm};`;type EmailThreadMessageBodyPreviewProps = {diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageSender.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageSender.tsxindex a0a920677ef..4831dc7743d 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageSender.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageSender.tsx@@ -18,8 +18,8 @@ const StyledEmailThreadMessageSender = styled.div`const StyledThreadMessageSentAt = styled.div`align-items: flex-end;- display: flex;color: ${themeCssVariables.font.color.tertiary};+ display: flex;font-size: ${themeCssVariables.font.size.sm};`;diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadNotShared.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadNotShared.tsxindex 3e67b81b409..9d84f81eb1c 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadNotShared.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadNotShared.tsx@@ -7,23 +7,23 @@ import { MessageChannelVisibility } from '~/generated/graphql';const StyledContainer = styled.div<{ isCompact?: boolean }>`align-items: center;+ background: ${themeCssVariables.background.transparent.lighter};+ border: 1px solid ${themeCssVariables.border.color.light};+ border-radius: 4px;+ color: ${themeCssVariables.font.color.tertiary};display: flex;+ flex: 1;flex: ${({ isCompact }) => (isCompact ? '0 0 auto' : '1 0 0')};+ font-size: ${themeCssVariables.font.size.sm};++ font-weight: ${themeCssVariables.font.weight.regular};gap: ${themeCssVariables.spacing[1]};height: 20px;+margin-left: auto;- width: ${({ isCompact }) => (isCompact ? 'auto' : '100%')};min-width: ${themeCssVariables.spacing[21]};padding: ${themeCssVariables.spacing[0]} ${themeCssVariables.spacing[1]};-- border-radius: 4px;- border: 1px solid ${themeCssVariables.border.color.light};- background: ${themeCssVariables.background.transparent.lighter};-- color: ${themeCssVariables.font.color.tertiary};- font-weight: ${themeCssVariables.font.weight.regular};- font-size: ${themeCssVariables.font.size.sm};- flex: 1;+ width: ${({ isCompact }) => (isCompact ? 'auto' : '100%')};`;type EmailThreadNotSharedProps = {diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadPreview.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadPreview.tsxindex 030203b85a9..bc9e0a6e321 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadPreview.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadPreview.tsx@@ -16,9 +16,9 @@ import { formatToHumanReadableDate } from '~/utils/date-utils';const StyledHeading = styled.div<{ unread: boolean }>`display: flex;+ max-width: 20%;overflow: hidden;width: fit-content;- max-width: 20%;`;const StyledParticipantsContainer = styled.div`@@ -52,17 +52,17 @@ const StyledSubjectAndBody = styled.div`const StyledSubject = styled.span`color: ${themeCssVariables.font.color.primary};- white-space: nowrap;overflow: hidden;text-overflow: ellipsis;+ white-space: nowrap;`;const StyledBody = styled.span`color: ${themeCssVariables.font.color.tertiary};+ flex: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;- flex: 1;`;const StyledReceivedAt = styled.div`diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailsCard.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailsCard.tsxindex 1ffe4b129cf..e2c7bffb057 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailsCard.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailsCard.tsx@@ -32,10 +32,10 @@ const StyledContainer = styled.div`display: flex;flex-direction: column;gap: ${themeCssVariables.spacing[6]};- padding: ${themeCssVariables.spacing[6]} ${themeCssVariables.spacing[6]}- ${themeCssVariables.spacing[2]};height: 100%;overflow: auto;+ padding: ${themeCssVariables.spacing[6]} ${themeCssVariables.spacing[6]}+ ${themeCssVariables.spacing[2]};`;const StyledH1TitleWrapper = styled.div`diff --git a/packages/twenty-front/src/modules/activities/files/components/AttachmentList.tsx b/packages/twenty-front/src/modules/activities/files/components/AttachmentList.tsxindex 90a38497897..4b37629473c 100644--- a/packages/twenty-front/src/modules/activities/files/components/AttachmentList.tsx+++ b/packages/twenty-front/src/modules/activities/files/components/AttachmentList.tsx@@ -47,11 +47,11 @@ const StyledContainer = styled.div`align-self: stretch;display: flex;flex-direction: column;+ height: 100%;justify-content: center;padding: ${themeCssVariables.spacing[2]} ${themeCssVariables.spacing[6]}${themeCssVariables.spacing[6]};width: calc(100% - ${themeCssVariables.spacing[12]});- height: 100%;`;const StyledTitleBar = styled.h3`@@ -75,8 +75,8 @@ const StyledCount = styled.span`const StyledDropZoneContainer = styled.div`height: 100%;- width: 100%;overflow: auto;+ width: 100%;`;const StyledLoadingContainer = styled.div`@@ -98,8 +98,8 @@ const StyledHeader = styled.div`align-items: center;display: flex;justify-content: space-between;- width: 100%;min-height: 40px;+ width: 100%;`;const StyledModalTitle = styled.span`diff --git a/packages/twenty-front/src/modules/activities/files/components/AttachmentRow.tsx b/packages/twenty-front/src/modules/activities/files/components/AttachmentRow.tsxindex 9fb36786cbb..0d938c5725a 100644--- a/packages/twenty-front/src/modules/activities/files/components/AttachmentRow.tsx+++ b/packages/twenty-front/src/modules/activities/files/components/AttachmentRow.tsx@@ -27,11 +27,11 @@ import { getFileNameAndExtension } from '~/utils/file/getFileNameAndExtension';const StyledLeftContent = styled.div`align-items: center;display: flex;- gap: ${themeCssVariables.spacing[3]};+ flex: 1;- width: 100%;+ gap: ${themeCssVariables.spacing[3]};overflow: auto;- flex: 1;+ width: 100%;`;const StyledRightContent = styled.div`diff --git a/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsx b/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsxindex 1c68bc8fb0b..4d7e062890b 100644--- a/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsx+++ b/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsx@@ -27,12 +27,12 @@ const MS_OFFICE_EXTENSIONS = [];const StyledDocumentViewerContainer = styled.div`+ background: ${themeCssVariables.background.secondary};display: flex;flex-direction: column;height: calc(100vh - 200px);min-height: 500px;width: 100%;- background: ${themeCssVariables.background.secondary};#react-doc-viewer #header-bar {display: none;@@ -45,22 +45,22 @@ const StyledDocumentViewerContainer = styled.div`#react-doc-viewer,#proxy-renderer,#msdoc-renderer {+ background: none;display: flex;flex-direction: column;height: 100%;- width: 100%;overflow: auto;- background: none;+ width: 100%;}`;const StyledUnavailablePreviewContainer = styled.div`+ align-items: center;display: flex;flex-direction: column;- align-items: center;- justify-content: center;- height: 100%;gap: ${themeCssVariables.spacing[4]};+ height: 100%;+ justify-content: center;padding: ${themeCssVariables.spacing[8]};text-align: center;`;diff --git a/packages/twenty-front/src/modules/activities/notes/components/NoteTile.tsx b/packages/twenty-front/src/modules/activities/notes/components/NoteTile.tsxindex b64bf407a85..60663bd9b47 100644--- a/packages/twenty-front/src/modules/activities/notes/components/NoteTile.tsx+++ b/packages/twenty-front/src/modules/activities/notes/components/NoteTile.tsx@@ -26,6 +26,7 @@ const StyledCard = styled.div<{ isSingleNote: boolean }>`const StyledCardDetailsContainer = styled.div`align-items: flex-start;align-self: stretch;+ box-sizing: border-box;cursor: pointer;display: flex;flex-direction: column;@@ -34,7 +35,6 @@ const StyledCardDetailsContainer = styled.div`justify-content: start;padding: ${themeCssVariables.spacing[4]};width: calc(100% - ${themeCssVariables.spacing[8]});- box-sizing: border-box;`;const StyledNoteTitle = styled.div`diff --git a/packages/twenty-front/src/modules/activities/tasks/components/TaskList.tsx b/packages/twenty-front/src/modules/activities/tasks/components/TaskList.tsxindex 7a13d50fcb7..b2c0c90517a 100644--- a/packages/twenty-front/src/modules/activities/tasks/components/TaskList.tsx+++ b/packages/twenty-front/src/modules/activities/tasks/components/TaskList.tsx@@ -14,14 +14,14 @@ type TaskListProps = {const StyledContainer = styled.div`align-items: flex-start;- width: 100%;align-self: stretch;display: flex;flex-direction: column;justify-content: center;padding: 8px ${themeCssVariables.spacing[6]};-width: calc(100% - ${themeCssVariables.spacing[12]});++ width: 100%;`;const StyledTitleBar = styled.div`diff --git a/packages/twenty-front/src/modules/activities/tasks/components/TaskRow.tsx b/packages/twenty-front/src/modules/activities/tasks/components/TaskRow.tsxindex 9b483fd6ea0..3d8a9a33a27 100644--- a/packages/twenty-front/src/modules/activities/tasks/components/TaskRow.tsx+++ b/packages/twenty-front/src/modules/activities/tasks/components/TaskRow.tsx@@ -23,24 +23,24 @@ const StyledTaskBody = styled.div`color: ${themeCssVariables.font.color.tertiary};display: flex;max-width: calc(80% - ${themeCssVariables.spacing[2]});- text-overflow: ellipsis;overflow: hidden;padding-bottom: 1px;+ text-overflow: ellipsis;`;const StyledTaskTitle = styled.div<{completed: boolean;}>`+ align-items: center;color: ${themeCssVariables.font.color.primary};font-weight: ${themeCssVariables.font.weight.medium};+ overflow: hidden;padding: 0 ${themeCssVariables.spacing[2]};padding-bottom: 1px;text-decoration: ${({ completed }) => (completed ? 'line-through' : 'none')};- white-space: nowrap;- overflow: hidden;text-overflow: ellipsis;- align-items: center;+ white-space: nowrap;`;const StyledDueDate = styled.div<{diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/components/EventRow.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/components/EventRow.tsxindex 45c955a018b..3307a0d26ef 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/components/EventRow.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/components/EventRow.tsx@@ -36,30 +36,30 @@ const StyledLeftContainer = styled.div``;const StyledIconContainer = styled.div`- display: flex;align-items: center;- justify-content: center;color: ${themeCssVariables.font.color.tertiary};+ display: flex;height: 16px;- width: 16px;+ justify-content: center;margin: 5px;- user-select: none;text-decoration-line: underline;+ user-select: none;+ width: 16px;z-index: 2;`;const StyledVerticalLineContainer = styled.div`display: flex;flex-shrink: 0;+ height: 100%;justify-content: center;z-index: 2;- height: 100%;`;const StyledVerticalLine = styled.div`background: ${themeCssVariables.border.color.light};- width: 2px;height: 100%;+ width: 2px;`;const StyledSummary = styled.summary`@@ -77,10 +77,10 @@ const StyledItemContainer = styled.div<{ isMarginBottom?: boolean }>`flex: 1;flex-direction: column;gap: ${themeCssVariables.spacing[1]};- overflow: hidden;margin-bottom: ${({ isMarginBottom }) =>isMarginBottom ? themeCssVariables.spacing[3] : '0'};min-height: 26px;+ overflow: hidden;`;type EventRowProps = {diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/components/EventsGroup.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/components/EventsGroup.tsxindex f241d539a06..fdea67c18cb 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/components/EventsGroup.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/components/EventsGroup.tsx@@ -45,9 +45,9 @@ const StyledMonthSeperator = styled.div`align-self: stretch;color: ${themeCssVariables.font.color.light};display: flex;- gap: ${themeCssVariables.spacing[4]};- font-weight: ${themeCssVariables.font.weight.semiBold};font-size: ${themeCssVariables.font.size.xs};+ font-weight: ${themeCssVariables.font.weight.semiBold};+ gap: ${themeCssVariables.spacing[4]};`;const StyledMonthSeperatorLine = styled.div`background: ${themeCssVariables.border.color.light};diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/components/TimelineCard.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/components/TimelineCard.tsxindex 37e866e7a31..d0b83e10887 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/components/TimelineCard.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/components/TimelineCard.tsx@@ -23,13 +23,13 @@ const StyledMainContainer = styled.div`border-top: none;display: flex;flex-direction: column;- overflow: auto;+ gap: ${themeCssVariables.spacing[4]};justify-content: center;- padding-top: ${themeCssVariables.spacing[6]};- padding-right: ${themeCssVariables.spacing[6]};+ overflow: auto;padding-left: ${themeCssVariables.spacing[6]};- gap: ${themeCssVariables.spacing[4]};+ padding-right: ${themeCssVariables.spacing[6]};+ padding-top: ${themeCssVariables.spacing[6]};@media (max-width: ${MOBILE_VIEWPORT}px) {border-top: 1px solid ${themeCssVariables.border.color.medium};diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/activity/components/EventRowActivity.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/activity/components/EventRowActivity.tsxindex 6c313325146..25a427b048a 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/activity/components/EventRowActivity.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/activity/components/EventRowActivity.tsx@@ -19,11 +19,11 @@ type EventRowActivityProps = EventRowDynamicComponentProps;const StyledLinkedActivity = styled.span`color: ${themeCssVariables.font.color.primary};cursor: pointer;- text-decoration: underline;- width: 100%;overflow: hidden;+ text-decoration: underline;text-overflow: ellipsis;white-space: nowrap;+ width: 100%;`;const StyledRowContainer = styled.div`diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/calendar/components/EventCardCalendarEvent.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/calendar/components/EventCardCalendarEvent.tsxindex f28a34c5ac4..498fb27c7ef 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/calendar/components/EventCardCalendarEvent.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/calendar/components/EventCardCalendarEvent.tsx@@ -43,9 +43,9 @@ const StyledCalendarEventContent = styled.div`const StyledCalendarEventTop = styled.div`align-items: center;display: flex;- width: 100%;gap: ${themeCssVariables.spacing[2]};justify-content: space-between;+ width: 100%;`;const StyledCalendarEventTitle = styled.div`@@ -68,15 +68,15 @@ const StyledCalendarEventBody = styled.div``;const StyledCalendarEventDateCard = styled.div`+ align-items: center;+ border: 1px solid ${themeCssVariables.border.color.medium};+ border-radius: ${themeCssVariables.spacing[1]};display: flex;- padding: ${themeCssVariables.spacing[1]};flex-direction: column;- justify-content: center;- align-items: center;gap: ${themeCssVariables.spacing[1]};- border-radius: ${themeCssVariables.spacing[1]};- border: 1px solid ${themeCssVariables.border.color.medium};+ justify-content: center;+ padding: ${themeCssVariables.spacing[1]};`;const StyledCalendarEventDateCardMonth = styled.div`diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventCard.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventCard.tsxindex e2d6c942606..274bb6b1429 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventCard.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventCard.tsx@@ -12,9 +12,9 @@ const StyledCardContainer = styled.div`flex-direction: column;flex-grow: 1;gap: ${themeCssVariables.spacing[2]};- width: 400px;padding: ${themeCssVariables.spacing[2]} 0px ${themeCssVariables.spacing[1]}0px;+ width: 400px;@media (max-width: ${MOBILE_VIEWPORT}px) {width: 300px;@@ -22,17 +22,17 @@ const StyledCardContainer = styled.div``;const StyledCardInnerContainer = styled.div`+ align-items: flex-start;+ align-self: stretch;background: ${themeCssVariables.background.secondary};border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.md};box-sizing: border-box;display: flex;- padding: ${themeCssVariables.spacing[2]};flex-direction: column;- align-items: flex-start;gap: ${themeCssVariables.spacing[2]};justify-content: center;- align-self: stretch;+ padding: ${themeCssVariables.spacing[2]};`;export const EventCard = ({ children, isOpen }: EventCardProps) => {diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventFieldDiffLabel.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventFieldDiffLabel.tsxindex 57f86569db4..720e1260df4 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventFieldDiffLabel.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventFieldDiffLabel.tsx@@ -10,9 +10,9 @@ type EventFieldDiffLabelProps = {const StyledUpdatedFieldContainer = styled.div`align-items: center;+ color: ${themeCssVariables.font.color.tertiary};display: flex;gap: ${themeCssVariables.spacing[1]};- color: ${themeCssVariables.font.color.tertiary};`;const StyledUpdatedFieldIconContainer = styled.div`diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventFieldDiffValue.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventFieldDiffValue.tsxindex cb4f4258f40..9ff62e4eeb0 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventFieldDiffValue.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventFieldDiffValue.tsx@@ -15,11 +15,11 @@ type EventFieldDiffValueProps = {const StyledEventFieldDiffValue = styled.div`align-items: center;+ color: ${themeCssVariables.font.color.primary};display: flex;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;- color: ${themeCssVariables.font.color.primary};`;export const EventFieldDiffValue = ({diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventCardMessageBodyNotShared.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventCardMessageBodyNotShared.tsxindex 42268b5b3d2..b2c2309f7a1 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventCardMessageBodyNotShared.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventCardMessageBodyNotShared.tsx@@ -8,25 +8,25 @@ const StyledEmailBodyNotSharedContainer = styled.div`background: ${themeCssVariables.background.transparent.lighter};border: 1px solid ${themeCssVariables.border.color.light};border-radius: ${themeCssVariables.spacing[1]};+ color: ${themeCssVariables.font.color.light};display: flex;flex-direction: column;- gap: ${themeCssVariables.spacing[3]};- height: 80px;- justify-content: center;-- color: ${themeCssVariables.font.color.light};font-size: ${themeCssVariables.font.size.sm};font-weight: ${themeCssVariables.font.weight.medium};++ gap: ${themeCssVariables.spacing[3]};+ height: 80px;+ justify-content: center;width: 100%;`;const StyledEmailBodyNotSharedIconContainer = styled.div`+ align-items: center;display: flex;- width: calc(${themeCssVariables.icon.size.sm} * 1px);height: calc(${themeCssVariables.icon.size.sm} * 1px);justify-content: center;- align-items: center;+ width: calc(${themeCssVariables.icon.size.sm} * 1px);`;const StyledEmailBodyNotShared = styled.div`diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventCardMessageForbidden.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventCardMessageForbidden.tsxindex 92a15f86017..7bd5fa288ec 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventCardMessageForbidden.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventCardMessageForbidden.tsx@@ -19,9 +19,9 @@ const StyledEmailContent = styled.div`const StyledEmailTitle = styled.div`color: ${themeCssVariables.font.color.primary};- font-weight: ${themeCssVariables.font.weight.medium};display: flex;flex-direction: column;+ font-weight: ${themeCssVariables.font.weight.medium};margin-top: ${themeCssVariables.spacing[2]};`;diff --git a/packages/twenty-front/src/modules/advanced-text-editor/components/AdvancedTextEditor.tsx b/packages/twenty-front/src/modules/advanced-text-editor/components/AdvancedTextEditor.tsxindex b472124ac13..84ca3e9d3a2 100644--- a/packages/twenty-front/src/modules/advanced-text-editor/components/AdvancedTextEditor.tsx+++ b/packages/twenty-front/src/modules/advanced-text-editor/components/AdvancedTextEditor.tsx@@ -11,23 +11,22 @@ const StyledEditorContainer = styled.div<{minHeight: number;maxWidth: number;}>`- height: 100%;+ box-sizing: border-box;display: flex;flex-direction: column;+ height: 100%;width: 100%;- box-sizing: border-box;.editor-content {flex-grow: 1;- width: 100%;height: 100%;min-height: ${({ minHeight }) => minHeight}px;+ width: 100%;}.tiptap {- padding: ${themeCssVariables.spacing[1]} ${themeCssVariables.spacing[2]};+ border: none !important;box-sizing: border-box;- height: 100%;color: ${({ readonly }) =>readonly? themeCssVariables.font.color.light@@ -35,7 +34,8 @@ const StyledEditorContainer = styled.div<{font-family: ${themeCssVariables.font.family};font-size: ${themeCssVariables.font.size.sm};font-weight: ${themeCssVariables.font.weight.regular};- border: none !important;+ height: 100%;+ padding: ${themeCssVariables.spacing[1]} ${themeCssVariables.spacing[2]};p.is-editor-empty:first-of-type::before {${FORM_FIELD_PLACEHOLDER_STYLES}@@ -70,8 +70,8 @@ const StyledEditorContainer = styled.div<{}li {- margin-bottom: ${themeCssVariables.spacing[2]};line-height: 1.5;+ margin-bottom: ${themeCssVariables.spacing[2]};}}diff --git a/packages/twenty-front/src/modules/advanced-text-editor/components/BubbleMenuIconButton.tsx b/packages/twenty-front/src/modules/advanced-text-editor/components/BubbleMenuIconButton.tsxindex acf2e9969ed..0c1c2291469 100644--- a/packages/twenty-front/src/modules/advanced-text-editor/components/BubbleMenuIconButton.tsx+++ b/packages/twenty-front/src/modules/advanced-text-editor/components/BubbleMenuIconButton.tsx@@ -16,8 +16,8 @@ type BubbleMenuIconButtonProps = {const StyledBubbleMenuIconButtonContainer = styled.div`border: none;border-radius: ${themeCssVariables.spacing[1.5]};- width: ${themeCssVariables.spacing[6]};height: ${themeCssVariables.spacing[6]};+ width: ${themeCssVariables.spacing[6]};`;export const BubbleMenuIconButton = ({diff --git a/packages/twenty-front/src/modules/advanced-text-editor/components/TurnIntoBlockDropdown.tsx b/packages/twenty-front/src/modules/advanced-text-editor/components/TurnIntoBlockDropdown.tsxindex 9c4b399119c..1ce9d6dc169 100644--- a/packages/twenty-front/src/modules/advanced-text-editor/components/TurnIntoBlockDropdown.tsx+++ b/packages/twenty-front/src/modules/advanced-text-editor/components/TurnIntoBlockDropdown.tsx@@ -15,6 +15,7 @@ const StyledMenuItem = styled.button`align-items: center;background: none;border: none;+ border-radius: ${themeCssVariables.spacing[1.5]};color: ${themeCssVariables.font.color.tertiary};cursor: pointer;display: flex;@@ -22,10 +23,9 @@ const StyledMenuItem = styled.button`font-weight: ${themeCssVariables.font.weight.regular};gap: 4px;height: ${themeCssVariables.spacing[6]};+ padding: 0 ${themeCssVariables.spacing[1.5]};padding: 0;width: 100%;- padding: 0 ${themeCssVariables.spacing[1.5]};- border-radius: ${themeCssVariables.spacing[1.5]};:hover {background: ${themeCssVariables.background.transparent.medium};diff --git a/packages/twenty-front/src/modules/advanced-text-editor/components/WorkflowAttachmentChip.tsx b/packages/twenty-front/src/modules/advanced-text-editor/components/WorkflowAttachmentChip.tsxindex 704c2356834..358d94505b9 100644--- a/packages/twenty-front/src/modules/advanced-text-editor/components/WorkflowAttachmentChip.tsx+++ b/packages/twenty-front/src/modules/advanced-text-editor/components/WorkflowAttachmentChip.tsx@@ -36,22 +36,22 @@ const StyledLabel = styled.span``;const StyledDelete = styled.button`- height: 20px;- width: 20px;+ align-items: center;+ background: none;+ border: none;+ border-bottom-right-radius: ${themeCssVariables.border.radius.sm};+ border-top-right-radius: ${themeCssVariables.border.radius.sm};+ color: ${themeCssVariables.font.color.tertiary};+ cursor: pointer;display: flex;+ flex-shrink: 0;+ font-size: ${themeCssVariables.font.size.sm};+ height: 20px;justify-content: center;- align-items: center;margin: 0;padding: 0;- cursor: pointer;- font-size: ${themeCssVariables.font.size.sm};user-select: none;- flex-shrink: 0;- background: none;- border: none;- color: ${themeCssVariables.font.color.tertiary};- border-top-right-radius: ${themeCssVariables.border.radius.sm};- border-bottom-right-radius: ${themeCssVariables.border.radius.sm};+ width: 20px;&:hover {background-color: ${themeCssVariables.background.transparent.medium};diff --git a/packages/twenty-front/src/modules/advanced-text-editor/components/WorkflowSendEmailAttachments.tsx b/packages/twenty-front/src/modules/advanced-text-editor/components/WorkflowSendEmailAttachments.tsxindex 999d45e1f43..e1695847f6c 100644--- a/packages/twenty-front/src/modules/advanced-text-editor/components/WorkflowSendEmailAttachments.tsx+++ b/packages/twenty-front/src/modules/advanced-text-editor/components/WorkflowSendEmailAttachments.tsx@@ -31,12 +31,12 @@ const StyledUploadArea = styled.div<{ hasFiles: boolean }>`border-radius: ${themeCssVariables.border.radius.sm};display: flex;flex-direction: column;- min-height: ${({ hasFiles }) => (hasFiles ? 'auto' : '24px')};justify-content: center;- padding-top: ${themeCssVariables.spacing[1]};+ min-height: ${({ hasFiles }) => (hasFiles ? 'auto' : '24px')};padding-bottom: ${themeCssVariables.spacing[1]};padding-left: ${themeCssVariables.spacing[2]};padding-right: ${themeCssVariables.spacing[2]};+ padding-top: ${themeCssVariables.spacing[1]};&:hover {background-color: ${themeCssVariables.background.transparent.light};@@ -52,13 +52,13 @@ const StyledChipsContainer = styled.div``;const StyledUploadAreaLabel = styled.div`- justify-content: center;+ color: ${themeCssVariables.font.color.secondary};color: ${themeCssVariables.font.color.tertiary};display: flex;font-size: ${themeCssVariables.font.size.sm};font-weight: ${themeCssVariables.font.weight.medium};- color: ${themeCssVariables.font.color.secondary};gap: ${themeCssVariables.spacing[1]};+ justify-content: center;`;export const WorkflowSendEmailAttachments = ({diff --git a/packages/twenty-front/src/modules/advanced-text-editor/extensions/resizable-image/ResizableImageView.tsx b/packages/twenty-front/src/modules/advanced-text-editor/extensions/resizable-image/ResizableImageView.tsxindex 067ac29b229..1ab42451db7 100644--- a/packages/twenty-front/src/modules/advanced-text-editor/extensions/resizable-image/ResizableImageView.tsx+++ b/packages/twenty-front/src/modules/advanced-text-editor/extensions/resizable-image/ResizableImageView.tsx@@ -32,21 +32,21 @@ const StyledImage = styled.img``;const StyledImageHandle = styled.div<{ handle: 'left' | 'right' }>`- border-radius: ${themeCssVariables.border.radius.md};background-color: ${themeCssVariables.background.primaryInverted};border: 1px solid ${themeCssVariables.background.primary};+ border-radius: ${themeCssVariables.border.radius.md};cursor: col-resize;height: ${themeCssVariables.spacing[8]};+ left: ${({ handle }) =>+ handle === 'left' ? themeCssVariables.spacing[1] : 'auto'};position: absolute;+ right: ${({ handle }) =>+ handle === 'right' ? themeCssVariables.spacing[1] : 'auto'};top: 50%;transform: translateY(-50%);+width: ${themeCssVariables.spacing[2]};z-index: 1;-- left: ${({ handle }) =>- handle === 'left' ? themeCssVariables.spacing[1] : 'auto'};- right: ${({ handle }) =>- handle === 'right' ? themeCssVariables.spacing[1] : 'auto'};`;type ResizeParams = {diff --git a/packages/twenty-front/src/modules/ai/components/AIChatEmptyState.tsx b/packages/twenty-front/src/modules/ai/components/AIChatEmptyState.tsxindex eb6537e7362..6432e83f4e8 100644--- a/packages/twenty-front/src/modules/ai/components/AIChatEmptyState.tsx+++ b/packages/twenty-front/src/modules/ai/components/AIChatEmptyState.tsx@@ -11,10 +11,10 @@ import { isDefined } from 'twenty-shared/utils';const StyledEmptyState = styled.div`display: flex;- flex-direction: column;flex: 1;- justify-content: flex-end;+ flex-direction: column;height: 100%;+ justify-content: flex-end;`;type AIChatEmptyStateProps = {diff --git a/packages/twenty-front/src/modules/ai/components/AIChatErrorMessage.tsx b/packages/twenty-front/src/modules/ai/components/AIChatErrorMessage.tsxindex 96c70e5ce11..5745cebdbc1 100644--- a/packages/twenty-front/src/modules/ai/components/AIChatErrorMessage.tsx+++ b/packages/twenty-front/src/modules/ai/components/AIChatErrorMessage.tsx@@ -27,9 +27,9 @@ const StyledErrorIcon = styled.div`const StyledErrorContent = styled.div`display: flex;+ flex: 1;flex-direction: column;gap: ${themeCssVariables.spacing['0.5']};- flex: 1;`;const StyledErrorTitle = styled.div`diff --git a/packages/twenty-front/src/modules/ai/components/AIChatMessage.tsx b/packages/twenty-front/src/modules/ai/components/AIChatMessage.tsxindex b12172e210f..d5bc9df84c1 100644--- a/packages/twenty-front/src/modules/ai/components/AIChatMessage.tsx+++ b/packages/twenty-front/src/modules/ai/components/AIChatMessage.tsx@@ -45,44 +45,44 @@ const StyledMessageText = styled.div<{ isUser?: boolean }>`font-weight: ${({ isUser }) => (isUser ? 500 : 400)};line-height: 1.4em;max-width: 100%;+ overflow-wrap: break-word;padding: ${({ isUser }) =>isUser ? `0 ${themeCssVariables.spacing[2]}` : '0'};+ white-space: normal;width: fit-content;- word-wrap: break-word;- overflow-wrap: break-word;/* Pre-wrap within the whole container turns every newline between blockelements into extra spacing; keep normal flow and only pre-wrap code. */- white-space: normal;+ word-wrap: break-word;code {+ background: ${themeCssVariables.background.tertiary};+ border-radius: ${themeCssVariables.border.radius.sm};+ line-height: 1.4;+ max-width: 100%;overflow: auto;+ padding: 1px 3px;white-space: pre-wrap;word-wrap: break-word;- max-width: 100%;- line-height: 1.4;- padding: 1px 3px;- border-radius: ${themeCssVariables.border.radius.sm};- background: ${themeCssVariables.background.tertiary};}pre {background: ${themeCssVariables.background.tertiary};- padding: ${themeCssVariables.spacing[2]};border-radius: ${themeCssVariables.border.radius.sm};- overflow-x: auto;max-width: 100%;+ overflow-x: auto;+ padding: ${themeCssVariables.spacing[2]};code {- padding: 0;- border-radius: 0;background: none;+ border-radius: 0;+ padding: 0;}}p {+ line-height: 1.4em;margin-block: ${({ isUser }) =>isUser ? '0' : themeCssVariables.spacing[1]};- line-height: 1.4em;}ul,@@ -105,9 +105,9 @@ const StyledMessageText = styled.div<{ isUser?: boolean }>`blockquote {border-left: 3px solid ${themeCssVariables.border.color.medium};+ color: ${themeCssVariables.font.color.secondary};margin: ${themeCssVariables.spacing[2]} 0;padding-left: ${themeCssVariables.spacing[2]};- color: ${themeCssVariables.font.color.secondary};}`;@@ -138,8 +138,8 @@ const StyledMessageContainer = styled.div<{ isUser?: boolean }>`const StyledFilesContainer = styled.div`display: flex;flex-direction: row;- gap: ${themeCssVariables.spacing[2]};flex-wrap: wrap;+ gap: ${themeCssVariables.spacing[2]};margin-top: ${themeCssVariables.spacing[2]};`;diff --git a/packages/twenty-front/src/modules/ai/components/AIChatStandaloneError.tsx b/packages/twenty-front/src/modules/ai/components/AIChatStandaloneError.tsxindex 965c09c20e9..7d5e8d685ff 100644--- a/packages/twenty-front/src/modules/ai/components/AIChatStandaloneError.tsx+++ b/packages/twenty-front/src/modules/ai/components/AIChatStandaloneError.tsx@@ -9,9 +9,9 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { isDefined } from 'twenty-shared/utils';const StyledErrorContainer = styled.div`+ align-items: flex-start;display: flex;flex-direction: column;- align-items: flex-start;width: 100%;`;diff --git a/packages/twenty-front/src/modules/ai/components/AIChatTab.tsx b/packages/twenty-front/src/modules/ai/components/AIChatTab.tsxindex 7b149e614f3..d125a4c2985 100644--- a/packages/twenty-front/src/modules/ai/components/AIChatTab.tsx+++ b/packages/twenty-front/src/modules/ai/components/AIChatTab.tsx@@ -23,36 +23,36 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateconst StyledContainer = styled.div<{ isDraggingFile: boolean }>`background: ${themeCssVariables.background.primary};+ display: flex;+ flex-direction: column;height: ${({ isDraggingFile }) =>isDraggingFile ? `calc(100% - 24px)` : '100%'};padding: ${({ isDraggingFile }) =>isDraggingFile ? themeCssVariables.spacing[3] : '0'};- display: flex;- flex-direction: column;`;const StyledInputArea = styled.div<{ isMobile: boolean }>`align-items: flex-end;+ background: ${themeCssVariables.background.primary};display: flex;flex-direction: column;gap: ${themeCssVariables.spacing[2]};- padding-inline: ${themeCssVariables.spacing[3]};padding-block: ${({ isMobile }) =>isMobile ? '0' : themeCssVariables.spacing[3]};- background: ${themeCssVariables.background.primary};+ padding-inline: ${themeCssVariables.spacing[3]};`;const StyledInputBox = styled.div`background-color: ${themeCssVariables.background.transparent.lighter};border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.sm};+ box-sizing: border-box;display: flex;flex-direction: column;gap: ${themeCssVariables.spacing[2]};min-height: 140px;padding: ${themeCssVariables.spacing[2]};width: 100%;- box-sizing: border-box;&:focus-within {border-color: ${themeCssVariables.color.blue};@@ -75,11 +75,11 @@ const StyledEditorWrapper = styled.div`font-size: ${themeCssVariables.font.size.md};font-weight: ${themeCssVariables.font.weight.regular};line-height: 16px;- outline: none;- padding: 0;- min-height: 48px;max-height: 320px;+ min-height: 48px;+ outline: none;overflow-y: auto;+ padding: 0;p {margin: 0;diff --git a/packages/twenty-front/src/modules/ai/components/AIChatThreadGroup.tsx b/packages/twenty-front/src/modules/ai/components/AIChatThreadGroup.tsxindex 8e0d066d2dc..6371568e66e 100644--- a/packages/twenty-front/src/modules/ai/components/AIChatThreadGroup.tsx+++ b/packages/twenty-front/src/modules/ai/components/AIChatThreadGroup.tsx@@ -24,17 +24,17 @@ const StyledDateHeader = styled.div``;const StyledThreadItem = styled.div<{ isSelected?: boolean }>`- display: flex;align-items: center;- gap: ${themeCssVariables.spacing[2]};- border-radius: ${themeCssVariables.border.radius.sm};- transition: all 0.2s ease;- margin-bottom: ${themeCssVariables.spacing[1]};border-left: 3px solid transparent;+ border-radius: ${themeCssVariables.border.radius.sm};cursor: pointer;+ display: flex;+ gap: ${themeCssVariables.spacing[2]};+ margin-bottom: ${themeCssVariables.spacing[1]};padding: ${themeCssVariables.spacing[1]} 1px;- right: 3px;position: relative;+ right: 3px;+ transition: all 0.2s ease;width: calc(100% + 1px);&:hover {@@ -47,8 +47,8 @@ const StyledSparkleIcon = styled.div`background: ${themeCssVariables.background.transparent.blue};border-radius: ${themeCssVariables.border.radius.sm};display: flex;- padding: ${themeCssVariables.spacing[1]};justify-content: center;+ padding: ${themeCssVariables.spacing[1]};`;const StyledThreadContent = styled.div`diff --git a/packages/twenty-front/src/modules/ai/components/AIChatThreadsList.tsx b/packages/twenty-front/src/modules/ai/components/AIChatThreadsList.tsxindex 091686a0bfa..7f0703247c5 100644--- a/packages/twenty-front/src/modules/ai/components/AIChatThreadsList.tsx+++ b/packages/twenty-front/src/modules/ai/components/AIChatThreadsList.tsx@@ -29,10 +29,10 @@ const StyledThreadsContainer = styled.div``;const StyledButtonsContainer = styled.div`+ border-top: 1px solid ${themeCssVariables.border.color.medium};display: flex;- padding: ${themeCssVariables.spacing[2]} 10px;justify-content: flex-end;- border-top: 1px solid ${themeCssVariables.border.color.medium};+ padding: ${themeCssVariables.spacing[2]} 10px;`;export const AIChatThreadsList = () => {diff --git a/packages/twenty-front/src/modules/ai/components/LazyMarkdownRendererStyledComponents.tsx b/packages/twenty-front/src/modules/ai/components/LazyMarkdownRendererStyledComponents.tsxindex 644c45f7e05..8a40807ac0d 100644--- a/packages/twenty-front/src/modules/ai/components/LazyMarkdownRendererStyledComponents.tsx+++ b/packages/twenty-front/src/modules/ai/components/LazyMarkdownRendererStyledComponents.tsx@@ -6,17 +6,17 @@ export const StyledMarkdownContainer = styled.div`line-height: 150%;margin: ${themeCssVariables.spacing['1.5']} 0;position: relative;- scroll-margin-top: ${themeCssVariables.spacing[10]};scroll-margin-bottom: ${themeCssVariables.spacing[10]};+ scroll-margin-top: ${themeCssVariables.spacing[10]};&:empty {display: none;}.markdown-link {+ -webkit-text-decoration: none;color: ${themeCssVariables.accent.accent11};text-decoration: none;- -webkit-text-decoration: none;}.markdown-link:visited {diff --git a/packages/twenty-front/src/modules/ai/components/NavigationDrawerAIChatThreadsList.tsx b/packages/twenty-front/src/modules/ai/components/NavigationDrawerAIChatThreadsList.tsxindex 48d3f13dc3d..a5963453faa 100644--- a/packages/twenty-front/src/modules/ai/components/NavigationDrawerAIChatThreadsList.tsx+++ b/packages/twenty-front/src/modules/ai/components/NavigationDrawerAIChatThreadsList.tsx@@ -14,8 +14,8 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledScrollableList = styled.div`display: flex;- flex-direction: column;flex: 1;+ flex-direction: column;min-height: 0;overflow-y: auto;padding: ${themeCssVariables.spacing[2]} ${themeCssVariables.spacing[0]};diff --git a/packages/twenty-front/src/modules/ai/components/ReasoningSummaryDisplay.tsx b/packages/twenty-front/src/modules/ai/components/ReasoningSummaryDisplay.tsxindex 78550b6970c..f735b9a3ad7 100644--- a/packages/twenty-front/src/modules/ai/components/ReasoningSummaryDisplay.tsx+++ b/packages/twenty-front/src/modules/ai/components/ReasoningSummaryDisplay.tsx@@ -23,9 +23,9 @@ const StyledThinkingText = styled.div`const StyledReasoningContainer = styled.div`background: ${themeCssVariables.background.transparent.lighter};+ border: 1px solid ${themeCssVariables.border.color.light};border-radius: ${themeCssVariables.border.radius.sm};padding: ${themeCssVariables.spacing[3]};- border: 1px solid ${themeCssVariables.border.color.light};`;const StyledReasoningText = styled.div`@@ -54,8 +54,8 @@ const StyledToggleButton = styled.div``;const StyledIconContainer = styled.div`- display: flex;align-items: center;+ display: flex;gap: ${themeCssVariables.spacing[1]};`;diff --git a/packages/twenty-front/src/modules/ai/components/RoutingDebugDisplay.tsx b/packages/twenty-front/src/modules/ai/components/RoutingDebugDisplay.tsxindex b9ae08d87b4..3f5da38ed02 100644--- a/packages/twenty-front/src/modules/ai/components/RoutingDebugDisplay.tsx+++ b/packages/twenty-front/src/modules/ai/components/RoutingDebugDisplay.tsx@@ -22,13 +22,13 @@ const StyledToggleButton = styled.div`align-items: center;background: none;border: none;+ color: ${themeCssVariables.font.color.tertiary};cursor: pointer;display: flex;- color: ${themeCssVariables.font.color.tertiary};+ font-size: ${themeCssVariables.font.size.sm};gap: ${themeCssVariables.spacing[1]};padding: ${themeCssVariables.spacing[1]} 0;transition: color calc(${themeCssVariables.animation.duration.normal} * 1s);- font-size: ${themeCssVariables.font.size.sm};&:hover {color: ${themeCssVariables.font.color.secondary};@@ -63,14 +63,14 @@ const StyledTab = styled.div<{ isActive: boolean }>`isActive? themeCssVariables.font.color.primary: themeCssVariables.font.color.tertiary};+ cursor: pointer;font-size: ${themeCssVariables.font.size.sm};font-weight: ${({ isActive }) =>isActive? themeCssVariables.font.weight.medium: themeCssVariables.font.weight.regular};- cursor: pointer;- transition: color calc(${themeCssVariables.animation.duration.normal} * 1s);padding-bottom: ${themeCssVariables.spacing[2]};+ transition: color calc(${themeCssVariables.animation.duration.normal} * 1s);&:hover {color: ${themeCssVariables.font.color.secondary};diff --git a/packages/twenty-front/src/modules/ai/components/RoutingStatusDisplay.tsx b/packages/twenty-front/src/modules/ai/components/RoutingStatusDisplay.tsxindex 5bb1734062a..d609e732d3f 100644--- a/packages/twenty-front/src/modules/ai/components/RoutingStatusDisplay.tsx+++ b/packages/twenty-front/src/modules/ai/components/RoutingStatusDisplay.tsx@@ -18,9 +18,9 @@ const StyledToggleButton = styled.div<{ isExpandable: boolean }>`align-items: center;background: none;border: none;+ color: ${themeCssVariables.font.color.tertiary};cursor: ${({ isExpandable }) => (isExpandable ? 'pointer' : 'auto')};display: flex;- color: ${themeCssVariables.font.color.tertiary};gap: ${themeCssVariables.spacing[1]};padding: ${themeCssVariables.spacing[1]} 0;transition: color calc(${themeCssVariables.animation.duration.normal} * 1s);@@ -40,8 +40,8 @@ const StyledDisplayMessage = styled.span``;const StyledIconTextContainer = styled.div`- display: flex;align-items: center;+ display: flex;gap: ${themeCssVariables.spacing[1]};svg {diff --git a/packages/twenty-front/src/modules/ai/components/ShimmeringText.tsx b/packages/twenty-front/src/modules/ai/components/ShimmeringText.tsxindex 21bf49041c5..75f999178bf 100644--- a/packages/twenty-front/src/modules/ai/components/ShimmeringText.tsx+++ b/packages/twenty-front/src/modules/ai/components/ShimmeringText.tsx@@ -2,6 +2,9 @@ import { styled } from '@linaria/react';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledShimmeringText = styled.div`+ -webkit-background-clip: text;+ -webkit-text-fill-color: transparent;+ animation: shimmer-wave 1s infinite linear;background: ${themeCssVariables.font.color.light}linear-gradient(90deg,@@ -9,13 +12,10 @@ const StyledShimmeringText = styled.div`${themeCssVariables.font.color.primary} 50%,${themeCssVariables.font.color.light} 100%);- background-size: 200% 100%;+ background-clip: text;background-position: -200% top;background-repeat: no-repeat;- background-clip: text;- -webkit-background-clip: text;- -webkit-text-fill-color: transparent;- animation: shimmer-wave 1s infinite linear;+ background-size: 200% 100%;@keyframes shimmer-wave {0% {diff --git a/packages/twenty-front/src/modules/ai/components/TerminalOutput.tsx b/packages/twenty-front/src/modules/ai/components/TerminalOutput.tsxindex d21cba68049..ae1504917a2 100644--- a/packages/twenty-front/src/modules/ai/components/TerminalOutput.tsx+++ b/packages/twenty-front/src/modules/ai/components/TerminalOutput.tsx@@ -7,9 +7,9 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';const StyledContainer = styled.div`+ border-radius: ${themeCssVariables.border.radius.sm};display: flex;flex-direction: column;- border-radius: ${themeCssVariables.border.radius.sm};overflow: hidden;`;diff --git a/packages/twenty-front/src/modules/ai/components/ThinkingStepsDisplay.tsx b/packages/twenty-front/src/modules/ai/components/ThinkingStepsDisplay.tsxindex afe19c0b49a..d407e41b591 100644--- a/packages/twenty-front/src/modules/ai/components/ThinkingStepsDisplay.tsx+++ b/packages/twenty-front/src/modules/ai/components/ThinkingStepsDisplay.tsx@@ -41,8 +41,8 @@ const StyledStepsContentContainer = styled.div`display: flex;flex-direction: column;gap: ${themeCssVariables.spacing[1]};- padding-top: ${themeCssVariables.spacing[1]};padding-bottom: ${themeCssVariables.spacing[2]};+ padding-top: ${themeCssVariables.spacing[1]};`;const StyledSummaryText = styled.span`diff --git a/packages/twenty-front/src/modules/ai/components/ToolStepRenderer.tsx b/packages/twenty-front/src/modules/ai/components/ToolStepRenderer.tsxindex 2e69dfa2fb0..2b5378d5cb6 100644--- a/packages/twenty-front/src/modules/ai/components/ToolStepRenderer.tsx+++ b/packages/twenty-front/src/modules/ai/components/ToolStepRenderer.tsx@@ -48,14 +48,14 @@ const StyledToggleButton = styled.div<{ isExpandable: boolean }>`align-items: center;background: none;border: none;+ color: ${themeCssVariables.font.color.tertiary};cursor: ${({ isExpandable }) => (isExpandable ? 'pointer' : 'auto')};display: flex;- color: ${themeCssVariables.font.color.tertiary};gap: ${themeCssVariables.spacing[1]};+ justify-content: space-between;padding: ${themeCssVariables.spacing[1]} 0;transition: color calc(${themeCssVariables.animation.duration.fast} * 1s)ease-in-out;- justify-content: space-between;width: 100%;&:hover {@@ -73,14 +73,14 @@ const StyledToolName = styled.span``;const StyledLeftContent = styled.div`- display: flex;align-items: center;+ display: flex;gap: ${themeCssVariables.spacing[1]};`;const StyledRightContent = styled.div`- display: flex;align-items: center;+ display: flex;gap: ${themeCssVariables.spacing[2]};`;@@ -91,8 +91,8 @@ const StyledDisplayMessage = styled.span``;const StyledIconTextContainer = styled.div`- display: flex;align-items: center;+ display: flex;gap: ${themeCssVariables.spacing[1]};svg {@@ -112,15 +112,15 @@ const StyledTab = styled.div<{ isActive: boolean }>`isActive? themeCssVariables.font.color.primary: themeCssVariables.font.color.tertiary};+ cursor: pointer;font-size: ${themeCssVariables.font.size.sm};font-weight: ${({ isActive }) =>isActive? themeCssVariables.font.weight.medium: themeCssVariables.font.weight.regular};- cursor: pointer;+ padding-bottom: ${themeCssVariables.spacing[2]};transition: color calc(${themeCssVariables.animation.duration.fast} * 1s)ease-in-out;- padding-bottom: ${themeCssVariables.spacing[2]};&:hover {color: ${themeCssVariables.font.color.primary};diff --git a/packages/twenty-front/src/modules/ai/components/internal/AIChatContextUsageButton.tsx b/packages/twenty-front/src/modules/ai/components/internal/AIChatContextUsageButton.tsxindex eabf08ea757..5732232a664 100644--- a/packages/twenty-front/src/modules/ai/components/internal/AIChatContextUsageButton.tsx+++ b/packages/twenty-front/src/modules/ai/components/internal/AIChatContextUsageButton.tsx@@ -43,11 +43,11 @@ const StyledHoverCard = styled.div`background: ${themeCssVariables.background.primary};border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.md};+ bottom: calc(100% + 8px);box-shadow: ${themeCssVariables.boxShadow.strong};+ left: 0;min-width: 280px;position: absolute;- left: 0;- bottom: calc(100% + 8px);z-index: ${themeCssVariables.lastLayerZIndex};`;diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/EmailVerificationSent.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/EmailVerificationSent.tsxindex 12e7e1ea08c..d164df585ac 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/EmailVerificationSent.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/EmailVerificationSent.tsx@@ -21,17 +21,17 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';import { AnimatedEaseIn } from 'twenty-ui/utilities';const StyledContainer = styled.div`+ align-items: center;display: flex;flex-direction: column;- align-items: center;gap: ${themeCssVariables.spacing[8]};width: 100%;`;const StyledTextContainer = styled.div`+ align-items: center;display: flex;flex-direction: column;- align-items: center;text-align: center;`;@@ -40,12 +40,12 @@ const StyledEmail = styled.span``;const StyledButtonsContainer = styled.div`+ align-items: center;display: flex;flex-direction: column;- align-items: center;gap: ${themeCssVariables.spacing[3]};- width: 100%;max-width: 240px;+ width: 100%;`;const StyledBottomLinks = styled.div`@@ -59,20 +59,20 @@ const StyledBottomLinks = styled.div`const StyledLinkButton = styled.button`background: none;border: none;+ color: ${themeCssVariables.font.color.tertiary};+ cursor: pointer;font-family: ${themeCssVariables.font.family};font-size: ${themeCssVariables.font.size.xs};font-weight: ${themeCssVariables.font.weight.regular};line-height: 140%;- color: ${themeCssVariables.font.color.tertiary};- cursor: pointer;&:hover {color: ${themeCssVariables.font.color.secondary};}&:disabled {- opacity: 0.5;cursor: not-allowed;+ opacity: 0.5;}`;diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsxindex 195e4aa45e9..dad28239e0e 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsx@@ -61,16 +61,16 @@ const StyledWorkspaceContainer = styled.div``;const StyledWorkspaceItem = styled.div`+ align-items: center;+ cursor: pointer;display: flex;flex-direction: row;- align-items: center;- width: 100%;height: ${themeCssVariables.spacing[15]};- padding: 0;+ justify-content: space-between;overflow: hidden;- cursor: pointer;- justify-content: space-between;+ padding: 0;+ width: 100%;&:hover {background-color: ${themeCssVariables.background.transparent.light};@@ -85,8 +85,8 @@ const StyledWorkspaceContent = styled.div`align-items: center;display: flex;gap: ${themeCssVariables.spacing[4]};- width: 100%;padding: 0 ${themeCssVariables.spacing[4]};+ width: 100%;`;const StyledWorkspaceTextContainer = styled.div`@@ -96,13 +96,13 @@ const StyledWorkspaceTextContainer = styled.div``;const StyledWorkspaceLogo = styled.div`- border-radius: ${themeCssVariables.border.radius.sm};- height: ${themeCssVariables.spacing[6]};- width: ${themeCssVariables.spacing[6]};+ align-items: center;background-color: ${themeCssVariables.background.transparent.light};+ border-radius: ${themeCssVariables.border.radius.sm};display: flex;+ height: ${themeCssVariables.spacing[6]};justify-content: center;- align-items: center;+ width: ${themeCssVariables.spacing[6]};`;const StyledWorkspaceName = styled.div`diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationProvision.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationProvision.tsxindex 0612361f929..5981920a098 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationProvision.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationProvision.tsx@@ -25,12 +25,12 @@ const StyledMainContentContainer = styled.div`const StyledTextContainer = styled.div`align-items: center;- margin-bottom: ${themeCssVariables.spacing[4]};color: ${themeCssVariables.font.color.tertiary};+ font-size: ${themeCssVariables.font.size.sm};+ margin-bottom: ${themeCssVariables.spacing[4]};max-width: 280px;text-align: center;- font-size: ${themeCssVariables.font.size.sm};& > a {color: ${themeCssVariables.font.color.tertiary};@@ -50,14 +50,14 @@ const StyledForm = styled.div``;const StyledCopySetupKeyLink = styled.button`+ align-items: center;background: none;border: none;color: ${themeCssVariables.font.color.secondary};cursor: pointer;display: flex;- align-items: center;- gap: ${themeCssVariables.spacing[1]};font-size: ${themeCssVariables.font.size.sm};+ gap: ${themeCssVariables.spacing[1]};margin-top: ${themeCssVariables.spacing[2]};padding: 0;text-decoration: underline;diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationVerification.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationVerification.tsxindex 10b5144fa3e..4ab2e519e4f 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationVerification.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationVerification.tsx@@ -39,27 +39,30 @@ const StyledForm = styled.form``;const StyledSlot = styled.div<{ isActive: boolean }>`- position: relative;- width: 2.5rem;- height: 3.5rem;- font-size: 2rem;- display: flex;align-items: center;- justify-content: center;- transition: all 0.3s;- border-top: 1px solid ${themeCssVariables.border.color.medium};border-bottom: 1px solid ${themeCssVariables.border.color.medium};border-right: 1px solid ${themeCssVariables.border.color.medium};+ border-top: 1px solid ${themeCssVariables.border.color.medium};+ display: flex;+ font-size: 2rem;+ height: 3.5rem;+ justify-content: center;+ outline-color: ${({ isActive }) =>+ isActive+ ? themeCssVariables.border.color.strong+ : themeCssVariables.border.color.medium};+ outline-style: ${({ isActive }) => (isActive ? 'solid' : 'none')};+ outline-width: ${({ isActive }) => (isActive ? '1px' : '0')};&:first-of-type {+ border-bottom-left-radius: 0.375rem;border-left: 1px solid ${themeCssVariables.border.color.medium};border-top-left-radius: 0.375rem;- border-bottom-left-radius: 0.375rem;}&:last-of-type {- border-top-right-radius: 0.375rem;border-bottom-right-radius: 0.375rem;+ border-top-right-radius: 0.375rem;}.group:hover &,@@ -67,12 +70,9 @@ const StyledSlot = styled.div<{ isActive: boolean }>`border-color: ${themeCssVariables.border.color.medium};}- outline-width: ${({ isActive }) => (isActive ? '1px' : '0')};- outline-style: ${({ isActive }) => (isActive ? 'solid' : 'none')};- outline-color: ${({ isActive }) =>- isActive- ? themeCssVariables.border.color.strong- : themeCssVariables.border.color.medium};+ position: relative;+ transition: all 0.3s;+ width: 2.5rem;`;const StyledPlaceholderChar = styled.div`@@ -113,9 +113,9 @@ const StyledCaretContainer = styled.div``;const StyledCaret = styled.div`- width: 1px;- height: 2rem;background-color: ${themeCssVariables.font.color.light};+ height: 2rem;+ width: 1px;`;const FakeCaret = () => {@@ -127,10 +127,10 @@ const FakeCaret = () => {};const StyledDashContainer = styled.div`+ align-items: center;display: flex;- width: 2.5rem;justify-content: center;- align-items: center;+ width: 2.5rem;`;const StyledDash = styled.div`@@ -149,8 +149,8 @@ const FakeDash = () => {};const StyledOTPContainer = styled.div`- display: flex;align-items: center;+ display: flex;&:has(:disabled) {opacity: 0.3;@@ -162,12 +162,12 @@ const StyledSlotGroup = styled.div``;const StyledTextContainer = styled.div`align-items: center;- margin-bottom: ${themeCssVariables.spacing[4]};color: ${themeCssVariables.font.color.tertiary};+ font-size: ${themeCssVariables.font.size.sm};+ margin-bottom: ${themeCssVariables.spacing[4]};max-width: 280px;text-align: center;- font-size: ${themeCssVariables.font.size.sm};`;const StyledActionBackLinkContainer = styled.div`diff --git a/packages/twenty-front/src/modules/billing/components/TrialCard.tsx b/packages/twenty-front/src/modules/billing/components/TrialCard.tsxindex b215930db07..5ed876ec1fb 100644--- a/packages/twenty-front/src/modules/billing/components/TrialCard.tsx+++ b/packages/twenty-front/src/modules/billing/components/TrialCard.tsx@@ -14,15 +14,15 @@ const StyledTrialCardContainer = styled.div`const StyledTrialDurationContainer = styled.div`color: ${themeCssVariables.font.color.secondary};- font-size: ${themeCssVariables.font.size.md};display: flex;+ font-size: ${themeCssVariables.font.size.md};margin-bottom: ${themeCssVariables.spacing[2]};`;const StyledCreditCardRequirementContainer = styled.div`color: ${themeCssVariables.font.color.tertiary};- font-size: ${themeCssVariables.font.size.md};display: flex;+ font-size: ${themeCssVariables.font.size.md};`;export const TrialCard = ({ duration, withCreditCard }: TrialCardProps) => {diff --git a/packages/twenty-front/src/modules/billing/components/internal/SubscriptionInfoRowContainer.tsx b/packages/twenty-front/src/modules/billing/components/internal/SubscriptionInfoRowContainer.tsxindex 3b304490cca..f034de2b44b 100644--- a/packages/twenty-front/src/modules/billing/components/internal/SubscriptionInfoRowContainer.tsx+++ b/packages/twenty-front/src/modules/billing/components/internal/SubscriptionInfoRowContainer.tsx@@ -13,22 +13,22 @@ type SubscriptionInfoRowContainerProps = {const StyledContainer = styled.div`align-items: center;- gap: ${themeCssVariables.spacing[1]};color: ${themeCssVariables.font.color.primary};display: grid;+ gap: ${themeCssVariables.spacing[1]};grid-template-columns: repeat(3, 1fr);`;const StyledIconLabelContainer = styled.div`align-items: center;- gap: ${themeCssVariables.spacing[1]};color: ${themeCssVariables.font.color.tertiary};display: flex;+ gap: ${themeCssVariables.spacing[1]};`;const StyledLabelContainer = styled.div`- text-overflow: ellipsis;overflow: hidden;+ text-overflow: ellipsis;white-space: nowrap;`;diff --git a/packages/twenty-front/src/modules/blocknote-editor/components/BlockEditor.tsx b/packages/twenty-front/src/modules/blocknote-editor/components/BlockEditor.tsxindex 0ac13ab41e0..9b70cf24522 100644--- a/packages/twenty-front/src/modules/blocknote-editor/components/BlockEditor.tsx+++ b/packages/twenty-front/src/modules/blocknote-editor/components/BlockEditor.tsx@@ -29,8 +29,8 @@ const StyledEditor = styled.div`& .editor {background: transparent;- font-size: 13px;color: ${themeCssVariables.font.color.primary};+ font-size: 13px;min-height: 400px;}& .editor [class^='_inlineContent']:before {@@ -41,30 +41,30 @@ const StyledEditor = styled.div`font-style: normal;}& .mantine-ActionIcon-icon {+ background: transparent;height: 20px;width: 20px;- background: transparent;}& .bn-container .bn-drag-handle {- width: 20px;height: 20px;+ width: 20px;}& .bn-block-content[data-content-type='checkListItem'] > div > div {- display: flex;align-items: center;+ display: flex;}& .bn-drag-handle-menu {- background: ${themeCssVariables.background.transparent.secondary};backdrop-filter: ${themeCssVariables.blur.medium};+ background: ${themeCssVariables.background.transparent.secondary};+ border: 1px solid ${themeCssVariables.border.color.medium};+ border-radius: 8px;box-shadow:0px 2px 4px rgba(0, 0, 0, 0.04),2px 4px 16px rgba(0, 0, 0, 0.12);- min-width: 160px;+ left: 26px;min-height: 96px;+ min-width: 160px;padding: 4px;- border-radius: 8px;- border: 1px solid ${themeCssVariables.border.color.medium};- left: 26px;}& .bn-editor {@@ -80,30 +80,30 @@ const StyledEditor = styled.div`}& .bn-suggestion-menu {- padding: 4px;- border-radius: 8px;- border: 1px solid ${themeCssVariables.border.color.medium};- background: ${themeCssVariables.background.transparent.secondary};backdrop-filter: ${themeCssVariables.blur.medium};+ background: ${themeCssVariables.background.transparent.secondary};+ border: 1px solid ${themeCssVariables.border.color.medium};+ border-radius: 8px;+ padding: 4px;}& .mantine-Menu-item {background-color: transparent;- min-width: 152px;- min-height: 32px;+ color: ${themeCssVariables.font.color.secondary};+ font-family: ${themeCssVariables.font.family};font-style: normal;- font-family: ${themeCssVariables.font.family};font-weight: ${themeCssVariables.font.weight.regular};- color: ${themeCssVariables.font.color.secondary};+ min-height: 32px;+ min-width: 152px;}& .mantine-ActionIcon-root:hover {+ backdrop-filter: blur(20px);+ background: ${themeCssVariables.background.transparent.primary};+ border: 1px solid ${themeCssVariables.border.color.light};box-shadow:0px 0px 4px rgba(0, 0, 0, 0.08),0px 2px 4px rgba(0, 0, 0, 0.04);- background: ${themeCssVariables.background.transparent.primary};- backdrop-filter: blur(20px);- border: 1px solid ${themeCssVariables.border.color.light};}& .bn-side-menu .mantine-UnstyledButton-root:not(.mantine-Menu-item) svg {height: 16px;@@ -122,13 +122,13 @@ const StyledEditor = styled.div`}& .bn-inline-content code {- font-family: monospace;- color: ${themeCssVariables.font.color.danger};- padding: 2px 4px;- border-radius: 4px;+ background-color: ${themeCssVariables.background.transparent.light};border: 1px solid ${themeCssVariables.font.color.extraLight};+ border-radius: 4px;+ color: ${themeCssVariables.font.color.danger};+ font-family: monospace;font-size: 0.9rem;- background-color: ${themeCssVariables.background.transparent.light};+ padding: 2px 4px;}`;diff --git a/packages/twenty-front/src/modules/blocknote-editor/components/CustomSideMenuOptions.tsx b/packages/twenty-front/src/modules/blocknote-editor/components/CustomSideMenuOptions.tsxindex bd62af35124..332a33212af 100644--- a/packages/twenty-front/src/modules/blocknote-editor/components/CustomSideMenuOptions.tsx+++ b/packages/twenty-front/src/modules/blocknote-editor/components/CustomSideMenuOptions.tsx@@ -4,9 +4,9 @@ import { type IconComponent } from 'twenty-ui/display';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div<{ Variant: Variants }>`+ align-items: center;color: ${({ Variant }) =>Variant === 'danger' ? themeCssVariables.color.red : 'inherit'};- align-items: center;display: flex;flex-direction: row;gap: ${themeCssVariables.spacing[2]};diff --git a/packages/twenty-front/src/modules/command-menu/components/CommandMenuOpenContainer.tsx b/packages/twenty-front/src/modules/command-menu/components/CommandMenuOpenContainer.tsxindex dac0ba9b989..c62c806efba 100644--- a/packages/twenty-front/src/modules/command-menu/components/CommandMenuOpenContainer.tsx+++ b/packages/twenty-front/src/modules/command-menu/components/CommandMenuOpenContainer.tsx@@ -28,6 +28,8 @@ const StyledCommandMenuBase = styled.div`background: ${themeCssVariables.background.primary};border-left: 1px solid ${themeCssVariables.border.color.medium};box-shadow: ${themeCssVariables.boxShadow.strong};+ display: flex;+ flex-direction: column;font-family: ${themeCssVariables.font.family};height: 100%;overflow: hidden;@@ -36,8 +38,6 @@ const StyledCommandMenuBase = styled.div`right: 0%;top: 0%;z-index: ${RootStackingContextZIndices.SidePanel};- display: flex;- flex-direction: column;`;const StyledCommandMenu = motion.create(StyledCommandMenuBase);diff --git a/packages/twenty-front/src/modules/error-handler/components/AppFullScreenErrorFallback.tsx b/packages/twenty-front/src/modules/error-handler/components/AppFullScreenErrorFallback.tsxindex 9598cc6ecac..ecdaaea0b20 100644--- a/packages/twenty-front/src/modules/error-handler/components/AppFullScreenErrorFallback.tsx+++ b/packages/twenty-front/src/modules/error-handler/components/AppFullScreenErrorFallback.tsx@@ -12,9 +12,9 @@ const StyledContainer = styled.div`box-sizing: border-box;display: flex;height: 100vh;- width: 100vw;- padding-top: ${themeCssVariables.spacing[3]};padding-left: ${themeCssVariables.spacing[3]};+ padding-top: ${themeCssVariables.spacing[3]};+ width: 100vw;`;export const AppFullScreenErrorFallback = ({diff --git a/packages/twenty-front/src/modules/error-handler/components/AppRootErrorFallback.tsx b/packages/twenty-front/src/modules/error-handler/components/AppRootErrorFallback.tsxindex dcdf2edd930..5f86d2a38e3 100644--- a/packages/twenty-front/src/modules/error-handler/components/AppRootErrorFallback.tsx+++ b/packages/twenty-front/src/modules/error-handler/components/AppRootErrorFallback.tsx@@ -12,8 +12,8 @@ const StyledContainer = styled.div`box-sizing: border-box;display: flex;height: 100vh;- width: 100vw;padding: 12px;+ width: 100vw;`;const StyledPanel = styled.div`@@ -28,18 +28,18 @@ const StyledPanel = styled.div`const StyledEmptyContainer = styled.div`align-items: center;- width: 100%;- height: 100%;display: flex;flex-direction: column;gap: 24px;+ height: 100%;justify-content: center;text-align: center;+ width: 100%;`;const StyledImageContainer = styled.div`- display: flex;align-items: center;+ display: flex;justify-content: center;position: relative;`;@@ -51,8 +51,8 @@ const StyledBackgroundImage = styled.img`const StyledInnerImage = styled.img`max-height: 130px;- position: absolute;max-width: 130px;+ position: absolute;`;const StyledEmptyTextContainer = styled.div`@@ -85,12 +85,12 @@ const StyledButton = styled.button`align-items: center;background: ${themeCssVariables.grayScale.gray1};border: 1px solid ${themeCssVariables.grayScale.gray5};- color: ${themeCssVariables.grayScale.gray12};border-radius: 8px;+ color: ${themeCssVariables.grayScale.gray12};cursor: pointer;display: flex;- padding: 8px 16px;padding: 8px;+ padding: 8px 16px;`;const StyledIconContainer = styled.span`diff --git a/packages/twenty-front/src/modules/favorites/components/FavoritesBackButton.tsx b/packages/twenty-front/src/modules/favorites/components/FavoritesBackButton.tsxindex f0b9e386113..4064f6875ae 100644--- a/packages/twenty-front/src/modules/favorites/components/FavoritesBackButton.tsx+++ b/packages/twenty-front/src/modules/favorites/components/FavoritesBackButton.tsx@@ -6,21 +6,21 @@ import { useContext } from 'react';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledBackButton = styled.button`- display: flex;align-items: center;- gap: ${themeCssVariables.spacing[2]};- padding-left: ${themeCssVariables.spacing[1]};- padding-right: ${themeCssVariables.spacing[0.5]};- padding-top: ${themeCssVariables.spacing[1]};- padding-bottom: ${themeCssVariables.spacing[1]};- width: 100%;background: transparent;border: none;color: ${themeCssVariables.font.color.secondary};- font-weight: ${themeCssVariables.font.weight.medium};- font-family: ${themeCssVariables.font.family};cursor: pointer;+ display: flex;+ font-family: ${themeCssVariables.font.family};+ font-weight: ${themeCssVariables.font.weight.medium};+ gap: ${themeCssVariables.spacing[2]};+ padding-bottom: ${themeCssVariables.spacing[1]};+ padding-left: ${themeCssVariables.spacing[1]};+ padding-right: ${themeCssVariables.spacing[0.5]};+ padding-top: ${themeCssVariables.spacing[1]};text-align: left;+ width: 100%;&:hover {background: ${themeCssVariables.background.transparent.light};diff --git a/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsx b/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsxindex 314c41989f3..57dce27f327 100644--- a/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsx+++ b/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsx@@ -25,11 +25,11 @@ const StyledCloseButtonContainer = styled.div`const StyledContent = styled.div<{ hasCloseButton: boolean }>`align-items: center;- justify-content: center;display: flex;flex: 1;- margin-left: ${({ hasCloseButton }) => (hasCloseButton ? '24px' : '0')};gap: ${themeCssVariables.spacing[3]};+ justify-content: center;+ margin-left: ${({ hasCloseButton }) => (hasCloseButton ? '24px' : '0')};`;export const InformationBanner = ({diff --git a/packages/twenty-front/src/modules/navigation-menu-item/components/AddToNavigationDragHandle.tsx b/packages/twenty-front/src/modules/navigation-menu-item/components/AddToNavigationDragHandle.tsxindex bf223a3fd87..d5bace190a6 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/components/AddToNavigationDragHandle.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/components/AddToNavigationDragHandle.tsx@@ -16,9 +16,9 @@ const StyledIconSlot = styled.div<{ $hasFixedSize: boolean }>`cursor: grab;display: flex;flex-shrink: 0;- justify-content: center;height: ${({ $hasFixedSize }) =>$hasFixedSize ? themeCssVariables.spacing[4] : 'auto'};+ justify-content: center;width: ${({ $hasFixedSize }) =>$hasFixedSize ? themeCssVariables.spacing[4] : 'auto'};diff --git a/packages/twenty-front/src/modules/navigation-menu-item/components/NavigationMenuItemBackButton.tsx b/packages/twenty-front/src/modules/navigation-menu-item/components/NavigationMenuItemBackButton.tsxindex ad27b19a89b..a9c99466822 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/components/NavigationMenuItemBackButton.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/components/NavigationMenuItemBackButton.tsx@@ -7,21 +7,21 @@ import { currentNavigationMenuItemFolderIdState } from '@/ui/navigation/navigatiimport { useSetAtomState } from '@/ui/utilities/state/jotai/hooks/useSetAtomState';const StyledBackButton = styled.button`- display: flex;align-items: center;- gap: ${themeCssVariables.spacing[2]};- padding-left: ${themeCssVariables.spacing[1]};- padding-right: ${themeCssVariables.spacing[0.5]};- padding-top: ${themeCssVariables.spacing[1]};- padding-bottom: ${themeCssVariables.spacing[1]};- width: 100%;background: transparent;border: none;color: ${themeCssVariables.font.color.secondary};- font-weight: ${themeCssVariables.font.weight.medium};- font-family: ${themeCssVariables.font.family};cursor: pointer;+ display: flex;+ font-family: ${themeCssVariables.font.family};+ font-weight: ${themeCssVariables.font.weight.medium};+ gap: ${themeCssVariables.spacing[2]};+ padding-bottom: ${themeCssVariables.spacing[1]};+ padding-left: ${themeCssVariables.spacing[1]};+ padding-right: ${themeCssVariables.spacing[0.5]};+ padding-top: ${themeCssVariables.spacing[1]};text-align: left;+ width: 100%;&:hover {background: ${themeCssVariables.background.transparent.light};diff --git a/packages/twenty-front/src/modules/navigation-menu-item/components/NavigationMenuItemIconContainer.tsx b/packages/twenty-front/src/modules/navigation-menu-item/components/NavigationMenuItemIconContainer.tsxindex 26397cbd1d0..bc917d4023f 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/components/NavigationMenuItemIconContainer.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/components/NavigationMenuItemIconContainer.tsx@@ -6,16 +6,16 @@ export const StyledNavigationMenuItemIconContainer = styled.div<{$borderColor?: string;}>`align-items: center;+ background-color: ${({ $backgroundColor }) =>+ $backgroundColor ?? 'transparent'};+ border: ${({ $borderColor }) =>+ $borderColor ? `1px solid ${$borderColor}` : 'none'};border-radius: 4px;box-sizing: border-box;display: flex;flex-shrink: 0;height: ${themeCssVariables.spacing[4]};+justify-content: center;width: ${themeCssVariables.spacing[4]};-- background-color: ${({ $backgroundColor }) =>- $backgroundColor ?? 'transparent'};- border: ${({ $borderColor }) =>- $borderColor ? `1px solid ${$borderColor}` : 'none'};`;diff --git a/packages/twenty-front/src/modules/navigation-menu-item/components/ObjectIconWithViewOverlay.tsx b/packages/twenty-front/src/modules/navigation-menu-item/components/ObjectIconWithViewOverlay.tsxindex 52cd5769508..676dda5f820 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/components/ObjectIconWithViewOverlay.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/components/ObjectIconWithViewOverlay.tsx@@ -21,16 +21,16 @@ const StyledObjectIconWrapper = styled.div<{$backgroundColor: string;$borderColor?: string;}>`- position: absolute;- inset: 0;+ align-items: center;+ background-color: ${({ $backgroundColor }) => $backgroundColor};+ border: ${({ $borderColor }) =>+ $borderColor ? `1px solid ${$borderColor}` : 'none'};border-radius: 4px;box-sizing: border-box;- background-color: ${({ $backgroundColor }) => $backgroundColor};display: flex;- align-items: center;+ inset: 0;justify-content: center;- border: ${({ $borderColor }) =>- $borderColor ? `1px solid ${$borderColor}` : 'none'};+ position: absolute;`;const StyledViewOverlay = styled.div<{ $backgroundColor: string }>`diff --git a/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerAIChatContent.tsx b/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerAIChatContent.tsxindex 0739dc94203..00551ce48da 100644--- a/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerAIChatContent.tsx+++ b/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerAIChatContent.tsx@@ -4,8 +4,8 @@ import { NavigationDrawerAIChatThreadsList } from '@/ai/components/NavigationDraconst StyledAIChatThreadsListWrapper = styled.div`display: flex;- flex-direction: column;flex: 1;+ flex-direction: column;min-height: 0;`;diff --git a/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerTabsRow.tsx b/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerTabsRow.tsxindex 30a4cce475f..953525278d5 100644--- a/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerTabsRow.tsx+++ b/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerTabsRow.tsx@@ -27,40 +27,40 @@ import { FeatureFlagKey } from '~/generated-metadata/graphql';const StyledRow = styled.div<{ isExpanded: boolean }>`align-items: center;display: flex;+ gap: ${({ isExpanded }) => (isExpanded ? themeCssVariables.spacing[2] : 0)};justify-content: ${({ isExpanded }) =>isExpanded ? 'space-between' : 'center'};- gap: ${({ isExpanded }) => (isExpanded ? themeCssVariables.spacing[2] : 0)};- width: 100%;transition: gap calc(${themeCssVariables.animation.duration.normal} * 1s) ease;+ width: 100%;`;const StyledTabsPill = styled.div`align-items: center;- border: 1px solid ${themeCssVariables.border.color.medium};background: ${themeCssVariables.background.secondary};+ border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.pill};- padding: 3px;- height: ${themeCssVariables.spacing[7]};+ box-sizing: border-box;display: flex;- width: ${themeCssVariables.spacing[18]};gap: ${themeCssVariables.spacing[0.5]};- box-sizing: border-box;+ height: ${themeCssVariables.spacing[7]};+ padding: 3px;+ width: ${themeCssVariables.spacing[18]};`;const StyledTabWrapper = styled.div<{ isActive: boolean }>`- border-radius: ${themeCssVariables.border.radius.pill};align-items: center;background: ${({ isActive }) =>isActive ? themeCssVariables.background.transparent.light : 'transparent'};+ border-radius: ${themeCssVariables.border.radius.pill};color: ${({ isActive }) =>isActive? themeCssVariables.font.color.primary: themeCssVariables.font.color.tertiary};cursor: pointer;display: flex;- justify-content: center;- height: 100%;flex: 1;+ height: 100%;+ justify-content: center;&:hover {background: ${({ isActive }) =>@@ -73,15 +73,15 @@ const StyledTabWrapper = styled.div<{ isActive: boolean }>`const StyledTabIcon = styled.div`align-items: center;display: flex;- justify-content: center;height: ${themeCssVariables.spacing[5]};+ justify-content: center;width: ${themeCssVariables.spacing[5]};`;const StyledNewChatButtonWrapper = styled.div<{ isExpanded: boolean }>`align-items: center;- border: 1px solid ${themeCssVariables.border.color.medium};background: ${themeCssVariables.background.secondary};+ border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.pill};box-sizing: border-box;display: flex;@@ -90,28 +90,28 @@ const StyledNewChatButtonWrapper = styled.div<{ isExpanded: boolean }>`justify-content: center;padding: ${({ isExpanded }) =>isExpanded ? '3px' : themeCssVariables.spacing[0.5]};- width: ${({ isExpanded }) =>- isExpanded ? '103px' : themeCssVariables.spacing[6]};transition:height calc(${themeCssVariables.animation.duration.normal} * 1s) ease,padding calc(${themeCssVariables.animation.duration.normal} * 1s) ease;+ width: ${({ isExpanded }) =>+ isExpanded ? '103px' : themeCssVariables.spacing[6]};`;const StyledNewChatButton = styled.div`align-items: center;- justify-content: center;- display: flex;+ border-radius: inherit;+ color: ${themeCssVariables.font.color.secondary};cursor: pointer;+ display: flex;font-size: ${themeCssVariables.font.size.sm};font-weight: ${themeCssVariables.font.weight.medium};gap: ${themeCssVariables.spacing[1]};height: 100%;- width: 100%;- border-radius: inherit;- color: ${themeCssVariables.font.color.secondary};+ justify-content: center;transition:background calc(${themeCssVariables.animation.duration.fast} * 1s) ease,color calc(${themeCssVariables.animation.duration.fast} * 1s) ease;+ width: 100%;&:hover {background: ${themeCssVariables.background.transparent.light};diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterDropdownRow.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterDropdownRow.tsxindex d511e661b95..84f469596be 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterDropdownRow.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterDropdownRow.tsx@@ -3,8 +3,8 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledRow = styled.div`display: flex;- width: 100%;gap: ${themeCssVariables.spacing[1]};+ width: 100%;`;export const AdvancedFilterDropdownRow = StyledRow;diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterFieldSelectSearchInput.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterFieldSelectSearchInput.tsxindex 8d34eb2f39e..b1064edfbe6 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterFieldSelectSearchInput.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterFieldSelectSearchInput.tsx@@ -7,22 +7,22 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';export const StyledInput = styled.input`background: transparent;border: none;- border-top: none;border-bottom: 1px solid ${themeCssVariables.border.color.light};border-radius: 0;+ border-top: none;border-top-left-radius: ${themeCssVariables.border.radius.md};border-top-right-radius: ${themeCssVariables.border.radius.md};color: ${themeCssVariables.font.color.primary};- margin: 0;- outline: none;- padding: ${themeCssVariables.spacing[2]};- min-height: 19px;font-family: inherit;font-size: ${themeCssVariables.font.size.sm};-font-weight: inherit;+ margin: 0;max-width: 100%;+ min-height: 19px;++ outline: none;overflow: hidden;+ padding: ${themeCssVariables.spacing[2]};text-decoration: none;&::placeholder {diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterLogicalOperatorCell.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterLogicalOperatorCell.tsxindex 66ebbe45a6e..fb8db210e72 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterLogicalOperatorCell.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterLogicalOperatorCell.tsx@@ -7,18 +7,18 @@ import { capitalize } from 'twenty-shared/utils';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledText = styled.div`- height: ${themeCssVariables.spacing[8]};- display: flex;align-items: center;+ display: flex;+ height: ${themeCssVariables.spacing[8]};padding-left: 9px;`;const StyledContainer = styled.div`align-items: start;+ color: ${themeCssVariables.font.color.tertiary};display: flex;min-width: ${themeCssVariables.spacing[20]};- color: ${themeCssVariables.font.color.tertiary};`;type AdvancedFilterLogicalOperatorCellProps = {diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterValueInputDropdownButtonClickableSelect.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterValueInputDropdownButtonClickableSelect.tsxindex 701f5d5ca77..cdb62c06352 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterValueInputDropdownButtonClickableSelect.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterValueInputDropdownButtonClickableSelect.tsx@@ -15,18 +15,18 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';// TODO: factorize this with https://github.com/twentyhq/core-team-issues/issues/752const StyledControlContainer = styled.div`- display: flex;align-items: center;- gap: ${themeCssVariables.spacing[1]};- box-sizing: border-box;- height: ${themeCssVariables.spacing[8]};- max-width: 100%;- padding: 0 ${themeCssVariables.spacing[2]};background-color: ${themeCssVariables.background.transparent.lighter};border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.sm};+ box-sizing: border-box;color: ${themeCssVariables.font.color.primary};cursor: pointer;+ display: flex;+ gap: ${themeCssVariables.spacing[1]};+ height: ${themeCssVariables.spacing[8]};+ max-width: 100%;+ padding: 0 ${themeCssVariables.spacing[2]};text-align: left;`;diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelColumn.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelColumn.tsxindex f50afda9c09..cef1b4b74ec 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelColumn.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelColumn.tsx@@ -4,8 +4,8 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledColumn = styled.div`display: flex;flex-direction: column;- width: 100%;gap: ${themeCssVariables.spacing[1]};+ width: 100%;`;export const AdvancedFilterSidePanelColumn = StyledColumn;diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelLogicalOperatorCell.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelLogicalOperatorCell.tsxindex 381902574bc..666d22db859 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelLogicalOperatorCell.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelLogicalOperatorCell.tsx@@ -21,9 +21,9 @@ const StyledText = styled.div`const StyledContainer = styled.div`align-items: start;+ color: ${themeCssVariables.font.color.tertiary};display: flex;min-width: ${themeCssVariables.spacing[20]};- color: ${themeCssVariables.font.color.tertiary};`;type AdvancedFilterSidePanelLogicalOperatorCellProps = {diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelRecordFilterColumn.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelRecordFilterColumn.tsxindex b21c4d616e2..eaf399507b8 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelRecordFilterColumn.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelRecordFilterColumn.tsx@@ -18,8 +18,8 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`display: flex;flex-direction: row;- justify-content: space-between;gap: ${themeCssVariables.spacing[1]};+ justify-content: space-between;`;type AdvancedFilterSidePanelRecordFilterColumnProps = {diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelRecordFilterGroupColumn.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelRecordFilterGroupColumn.tsxindex b1c598c55f8..fdf3243a911 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelRecordFilterGroupColumn.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelRecordFilterGroupColumn.tsx@@ -12,8 +12,8 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`display: flex;flex-direction: row;- justify-content: space-between;gap: ${themeCssVariables.spacing[1]};+ justify-content: space-between;`;export const AdvancedFilterSidePanelRecordFilterGroupColumn = ({diff --git a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownBooleanSelect.tsx b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownBooleanSelect.tsxindex c1f94ff6cfb..f162dddbb36 100644--- a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownBooleanSelect.tsx+++ b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownBooleanSelect.tsx@@ -15,20 +15,20 @@ import { IconCheck } from 'twenty-ui/display';const StyledBooleanSelectContainer = styled.div<{ selected?: boolean }>`align-items: center;+ border-radius: ${themeCssVariables.border.radius.sm};+ color: ${themeCssVariables.font.color.primary};cursor: pointer;display: flex;padding: ${themeCssVariables.spacing[2]} ${themeCssVariables.spacing[2]}${themeCssVariables.spacing[2]} ${themeCssVariables.spacing[1]};- border-radius: ${themeCssVariables.border.radius.sm};- color: ${themeCssVariables.font.color.primary};&:hover {background: ${themeCssVariables.background.transparent.light};}`;const StyledIconCheckContainer = styled.div`- flex: 1;display: flex;+ flex: 1;justify-content: flex-end;`;diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownMenuViewName.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownMenuViewName.tsxindex 11bf2aead48..2a4f1aa7f7d 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownMenuViewName.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownMenuViewName.tsx@@ -22,9 +22,9 @@ import { useDebouncedCallback } from 'use-debounce';const StyledDropdownMenuIconAndNameContainer = styled.div`align-items: center;display: flex;+ gap: ${themeCssVariables.spacing[1]};margin-left: 0;margin-right: 0;- gap: ${themeCssVariables.spacing[1]};`;const StyledMenuTitleContainer = styled.div`@@ -35,8 +35,8 @@ const StyledMenuTitleContainer = styled.div``;const StyledMenuIconContainer = styled.div`- color: ${themeCssVariables.font.color.primary};align-items: center;+ color: ${themeCssVariables.font.color.primary};display: flex;height: ${themeCssVariables.spacing[6]};justify-content: center;@@ -46,10 +46,10 @@ const StyledMenuIconContainer = styled.div`const StyledMainText = styled.div`color: ${themeCssVariables.font.color.primary};flex-shrink: 0;+ max-width: 100%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;- max-width: 100%;`;type ObjectOptionsDropdownMenuViewNameProps = {diff --git a/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoard.tsx b/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoard.tsxindex 742dc8d2c81..fe8366738f9 100644--- a/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoard.tsx+++ b/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoard.tsx@@ -23,14 +23,14 @@ const StyledContainer = styled.div`const StyledContainerContainer = styled.div`display: flex;flex-direction: column;- min-height: calc(100% - ${themeCssVariables.spacing[2]});height: min-content;+ min-height: calc(100% - ${themeCssVariables.spacing[2]});`;const StyledBoardContentContainer = styled.div`display: flex;- flex-direction: column;flex: 1;+ flex-direction: column;`;export const RecordBoard = () => {diff --git a/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoardHeader.tsx b/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoardHeader.tsxindex a7f6acc1cc6..73292095e64 100644--- a/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoardHeader.tsx+++ b/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoardHeader.tsx@@ -11,10 +11,10 @@ const StyledHeaderContainer = styled.div`display: flex;flex-direction: row;height: 40px;- z-index: 10;-overflow: visible;+width: 100%;+ z-index: 10;&.header-sticky {position: sticky;diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardMultiDragCounterChip.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardMultiDragCounterChip.tsxindex faf87465744..b855379a987 100644--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardMultiDragCounterChip.tsx+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardMultiDragCounterChip.tsx@@ -5,8 +5,8 @@ import { NotificationCounter } from 'twenty-ui/navigation';const StyledNotificationCounterContainer = styled.div`position: absolute;- top: -7px;right: -7px;+ top: -7px;z-index: 1000;`;diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardMultiDragStack.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardMultiDragStack.tsxindex d49bf7a4d30..e8c4502614f 100644--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardMultiDragStack.tsx+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardMultiDragStack.tsx@@ -4,14 +4,14 @@ import { styled } from '@linaria/react';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledRecordBoardCardStackCard = styled.div<{ offset: number }>`- position: absolute;- top: ${({ offset }) => (offset === 1 ? 2 : (offset - 1) * 4 + 2)}px;- left: 0;- right: 0;- height: 100%;background-color: ${themeCssVariables.accent.tertiary};border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.sm};+ height: 100%;+ left: 0;+ position: absolute;+ right: 0;+ top: ${({ offset }) => (offset === 1 ? 2 : (offset - 1) * 4 + 2)}px;z-index: ${({ offset }) => -offset};`;diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumn.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumn.tsxindex 7a3eebe9e3d..4f5f11c192d 100644--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumn.tsx+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumn.tsx@@ -15,15 +15,15 @@ import { isDefined } from 'twenty-shared/utils';const StyledColumn = styled.div`background-color: ${themeCssVariables.background.primary};display: flex;+ flex: 1;flex-direction: column;+ height: 100%;max-width: 200px;- min-width: 200px;min-height: 100%;- flex: 1;+ min-width: 200px;padding: ${themeCssVariables.spacing[2]};padding-top: 0px;position: relative;- height: 100%;`;type RecordBoardColumnProps = {diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnCardContainerSkeletonLoader.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnCardContainerSkeletonLoader.tsxindex 21b3b061af9..fff4fbb5f75 100644--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnCardContainerSkeletonLoader.tsx+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnCardContainerSkeletonLoader.tsx@@ -23,16 +23,16 @@ const StyledBodyContainer = styled.div`display: flex;flex-direction: column;gap: ${themeCssVariables.spacing['0.5']};- padding-top: 4px;padding-bottom: 4px;+ padding-top: 4px;`;const StyledStaticCellSkeleton = styled.div<{ width: number; height: number }>`background-color: ${themeCssVariables.background.tertiary};border-radius: ${themeCssVariables.border.radius.sm};- width: ${({ width }) => width}px;height: ${({ height }) => height}px;+ width: ${({ width }) => width}px;`;export const RecordBoardColumnCardContainerSkeletonLoader = () => {diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsxindex 944356f5e5e..f506cd4a14a 100644--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsx+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsx@@ -28,9 +28,9 @@ const StyledHeader = styled.div`cursor: pointer;display: flex;flex-direction: row;+ height: 100%;justify-content: left;width: 100%;- height: 100%;`;const StyledHeaderActions = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendar.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendar.tsxindex f6fdc466222..7982ab4b43a 100644--- a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendar.tsx+++ b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendar.tsx@@ -20,8 +20,8 @@ const StyledContainerContainer = styled.div`box-sizing: border-box;display: flex;flex-direction: column;- height: 100%;gap: ${themeCssVariables.spacing[2]};+ height: 100%;padding: ${themeCssVariables.spacing[2]};padding-left: ${themeCssVariables.spacing[1]};`;diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarAddNew.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarAddNew.tsxindex 6ef907099bb..070b3c40770 100644--- a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarAddNew.tsx+++ b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarAddNew.tsx@@ -15,9 +15,9 @@ import { Button } from 'twenty-ui/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledButtonContainer = styled.div`- padding: ${themeCssVariables.spacing['0.5']};- min-width: unset;height: auto;+ min-width: unset;+ padding: ${themeCssVariables.spacing['0.5']};`;type RecordCalendarAddNewProps = {diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarTopBar.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarTopBar.tsxindex 8366e060e20..b008bd49f36 100644--- a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarTopBar.tsx+++ b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarTopBar.tsx@@ -35,14 +35,14 @@ const StyledNavigationButtonContainer = styled.div``;const StyledLeftSection = styled.div`- display: flex;align-items: center;+ display: flex;gap: ${themeCssVariables.spacing[2]};`;const StyledNavigationSection = styled.div`- display: flex;align-items: center;+ display: flex;gap: ${themeCssVariables.spacing[1]};justify-content: flex-end;`;diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/month/components/RecordCalendarMonthBody.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/month/components/RecordCalendarMonthBody.tsxindex 2f88be9a3c4..7095b9d96eb 100644--- a/packages/twenty-front/src/modules/object-record/record-calendar/month/components/RecordCalendarMonthBody.tsx+++ b/packages/twenty-front/src/modules/object-record/record-calendar/month/components/RecordCalendarMonthBody.tsx@@ -4,11 +4,11 @@ import { styled } from '@linaria/react';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`- display: flex;- flex-direction: column;- flex: 1;border: 1px solid ${themeCssVariables.border.color.light};border-radius: 4px;+ display: flex;+ flex: 1;+ flex-direction: column;overflow: hidden;`;diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/month/components/RecordCalendarMonthBodyDay.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/month/components/RecordCalendarMonthBodyDay.tsxindex 9902bcfdc21..f944ce0ab17 100644--- a/packages/twenty-front/src/modules/object-record/record-calendar/month/components/RecordCalendarMonthBodyDay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-calendar/month/components/RecordCalendarMonthBodyDay.tsx@@ -21,12 +21,6 @@ const StyledContainer = styled.div<{isOtherMonth: boolean;isDayOfWeekend: boolean;}>`- display: flex;- width: calc(100% / 7);- flex-direction: column;- min-height: 122px;- padding: ${themeCssVariables.spacing[1]};- min-width: 0;background: ${({ isOtherMonth, isDayOfWeekend }) =>isOtherMonth || isDayOfWeekend? themeCssVariables.background.secondary@@ -35,6 +29,12 @@ const StyledContainer = styled.div<{isOtherMonth? themeCssVariables.font.color.light: themeCssVariables.font.color.primary};+ display: flex;+ flex-direction: column;+ min-height: 122px;+ min-width: 0;+ padding: ${themeCssVariables.spacing[1]};+ width: calc(100% / 7);&:not(:last-child) {border-right: 1px solid ${themeCssVariables.border.color.light};@@ -60,20 +60,20 @@ const StyledDayHeaderDayContainer = styled.div`const StyledDayHeaderDay = styled.span<{ isToday: boolean }>`align-items: center;- display: flex;- font-size: ${themeCssVariables.font.size.sm};- justify-content: center;- line-height: 140%;- width: 20px;- border-radius: ${({ isToday }) => (isToday ? '4px' : '0')};background: ${({ isToday }) =>isToday ? themeCssVariables.color.blue : 'transparent'};+ border-radius: ${({ isToday }) => (isToday ? '4px' : '0')};color: ${({ isToday }) =>isToday? themeCssVariables.font.color.inverted: themeCssVariables.font.color.primary};+ display: flex;+ font-size: ${themeCssVariables.font.size.sm};font-weight: ${({ isToday }) =>isToday ? themeCssVariables.font.weight.medium : 'normal'};+ justify-content: center;+ line-height: 140%;+ width: 20px;`;const StyledCardsContainer = styled.div<{ isDraggedOver?: boolean }>`diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/month/components/RecordCalendarMonthBodyWeek.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/month/components/RecordCalendarMonthBodyWeek.tsxindex 07fadf9eeef..73cc0668d61 100644--- a/packages/twenty-front/src/modules/object-record/record-calendar/month/components/RecordCalendarMonthBodyWeek.tsx+++ b/packages/twenty-front/src/modules/object-record/record-calendar/month/components/RecordCalendarMonthBodyWeek.tsx@@ -10,8 +10,8 @@ import {} from 'twenty-shared/utils';const StyledContainer = styled.div`- display: flex;align-items: stretch;+ display: flex;flex: 1;&:not(:last-of-type) {diff --git a/packages/twenty-front/src/modules/object-record/record-card/components/RecordCard.tsx b/packages/twenty-front/src/modules/object-record/record-card/components/RecordCard.tsxindex b9be38398e7..06b0f6142e5 100644--- a/packages/twenty-front/src/modules/object-record/record-card/components/RecordCard.tsx+++ b/packages/twenty-front/src/modules/object-record/record-card/components/RecordCard.tsx@@ -11,10 +11,10 @@ const StyledBoardCard = styled.div<{border-radius: ${themeCssVariables.border.radius.sm};color: ${themeCssVariables.font.color.primary};cursor: pointer;- width: 100%;-opacity: ${({ isSecondaryDragged }) => (isSecondaryDragged ? '0.3' : '1')};+ width: 100%;+&[data-selected='true'] {background-color: ${themeCssVariables.accent.quaternary};}@@ -37,8 +37,8 @@ const StyledBoardCard = styled.div<{}.checkbox-container {- transition: all ease-in-out 160ms;opacity: 0;+ transition: all ease-in-out 160ms;}&[data-selected='true'] .checkbox-container {@@ -50,8 +50,8 @@ const StyledBoardCard = styled.div<{}.compact-icon-container {- transition: all ease-in-out 160ms;opacity: 0;+ transition: all ease-in-out 160ms;}&:hover .compact-icon-container {opacity: 1;diff --git a/packages/twenty-front/src/modules/object-record/record-card/components/RecordCardHeaderContainer.tsx b/packages/twenty-front/src/modules/object-record/record-card/components/RecordCardHeaderContainer.tsxindex 58d26ba6749..5a9c38d7648 100644--- a/packages/twenty-front/src/modules/object-record/record-card/components/RecordCardHeaderContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-card/components/RecordCardHeaderContainer.tsx@@ -8,9 +8,9 @@ export const StyledBoardCardHeaderContainer = styled.div<{align-items: center;display: flex;flex-direction: row;- justify-content: space-between;font-weight: ${themeCssVariables.font.weight.medium};height: 24px;+ justify-content: space-between;padding: ${({ padding, isCompact }) =>padding ??`${themeCssVariables.spacing[2]} ${themeCssVariables.spacing[2]} ${isCompact ? themeCssVariables.spacing[2] : themeCssVariables.spacing[1]} ${themeCssVariables.spacing[2]}`};diff --git a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/components/RecordDetailRecordsListItemContainer.tsx b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/components/RecordDetailRecordsListItemContainer.tsxindex 63afc960a77..d7c921ce476 100644--- a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/components/RecordDetailRecordsListItemContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/components/RecordDetailRecordsListItemContainer.tsx@@ -8,10 +8,10 @@ const StyledListItem = styled.div<{isDropdownOpen?: boolean;}>`align-items: center;- justify-content: space-between;- gap: ${themeCssVariables.spacing[1]};display: flex;+ gap: ${themeCssVariables.spacing[1]};height: ${themeCssVariables.spacing[10]};+ justify-content: space-between;padding-left: ${({ noHorizontalPadding }) =>noHorizontalPadding ? 0 : themeCssVariables.spacing[3]};padding-right: ${({ noHorizontalPadding }) =>diff --git a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/components/RecordDetailSectionContainer.tsx b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/components/RecordDetailSectionContainer.tsxindex 089795978fe..f628b4e48a9 100644--- a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/components/RecordDetailSectionContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/components/RecordDetailSectionContainer.tsx@@ -6,8 +6,8 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledRecordDetailSectionWrapper = styled.div`border-top: 1px solid ${themeCssVariables.border.color.light};- padding-top: ${themeCssVariables.spacing[3]};padding-bottom: ${themeCssVariables.spacing[3]};+ padding-top: ${themeCssVariables.spacing[3]};width: auto;`;diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/BaseChip.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/BaseChip.tsxindex 7ff8ad10d3d..d2065e6c314 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/BaseChip.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/BaseChip.tsx@@ -4,27 +4,27 @@ import { IconX } from 'twenty-ui/display';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledChip = styled.div<{ deletable: boolean; danger: boolean }>`+ align-items: center;background-color: ${({ danger }) =>danger ? themeCssVariables.color.red3 : themeCssVariables.color.blue3};- border-width: 1px;- border-style: solid;border-color: ${({ danger }) =>danger ? themeCssVariables.color.red5 : themeCssVariables.color.blue5};border-radius: 4px;- height: 20px;+ border-style: solid;+ border-width: 1px;box-sizing: border-box;+ column-gap: ${themeCssVariables.spacing[1]};+ cursor: ${({ deletable }) => (deletable ? 'pointer' : 'default')};display: inline-flex;- align-items: center;flex-direction: row;flex-shrink: 0;- column-gap: ${themeCssVariables.spacing[1]};+ height: 20px;padding-left: ${themeCssVariables.spacing[1]};- user-select: none;- white-space: nowrap;-- cursor: ${({ deletable }) => (deletable ? 'pointer' : 'default')};padding-right: ${({ deletable }) =>deletable ? '0' : themeCssVariables.spacing[1]};++ user-select: none;+ white-space: nowrap;`;const StyledLabel = styled.span<{ danger: boolean }>`@@ -34,23 +34,23 @@ const StyledLabel = styled.span<{ danger: boolean }>``;const StyledDelete = styled.button<{ danger: boolean }>`- box-sizing: border-box;- height: 20px;- width: 20px;- display: flex;- justify-content: center;align-items: center;- cursor: pointer;- font-size: ${themeCssVariables.font.size.sm};- user-select: none;- padding: 0;- margin: 0;background: none;border: none;+ border-bottom-right-radius: ${themeCssVariables.border.radius.sm};+ border-top-right-radius: ${themeCssVariables.border.radius.sm};+ box-sizing: border-box;color: ${({ danger }) =>danger ? themeCssVariables.color.red : themeCssVariables.color.blue};- border-top-right-radius: ${themeCssVariables.border.radius.sm};- border-bottom-right-radius: ${themeCssVariables.border.radius.sm};+ cursor: pointer;+ display: flex;+ font-size: ${themeCssVariables.font.size.sm};+ height: 20px;+ justify-content: center;+ margin: 0;+ padding: 0;+ user-select: none;+ width: 20px;&:hover {background-color: ${({ danger }) =>diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormAdvancedTextFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormAdvancedTextFieldInput.tsxindex 3a071783bea..5a38d6195d8 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormAdvancedTextFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormAdvancedTextFieldInput.tsx@@ -27,29 +27,29 @@ const StyledAdvancedTextFieldContainerWrapper = styled.div``;const StyledAdvancedTextFieldFieldContainer = styled.div`- position: relative;display: flex;flex-direction: column;- gap: ${themeCssVariables.spacing[2]};flex-grow: 1;+ gap: ${themeCssVariables.spacing[2]};+ position: relative;`;const StyledAdvancedTextFieldInnerContainer = styled.div`- flex-grow: 1;background-color: ${themeCssVariables.background.transparent.lighter};border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.sm};-box-sizing: border-box;+display: flex;+ flex-grow: 1;overflow: auto;width: 100%;`;const StyledEditorActionButtonContainer = styled.div`position: absolute;- top: ${themeCssVariables.spacing[0]};right: 30px;+ top: ${themeCssVariables.spacing[0]};z-index: 1;`;@@ -59,8 +59,8 @@ const StyledFullScreenEditorContainer = styled.div`border-radius: ${themeCssVariables.border.radius.sm};flex: 1;min-height: 0;- padding: ${themeCssVariables.spacing[2]};overflow-y: auto;+ padding: ${themeCssVariables.spacing[2]};`;const StyledFullScreenButtonContainerWrapper = styled.div`@@ -70,8 +70,8 @@ const StyledFullScreenButtonContainerWrapper = styled.div`padding: ${themeCssVariables.spacing[2]};:hover {- cursor: pointer;background-color: ${themeCssVariables.background.transparent.light};+ cursor: pointer;}}`;diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormArrayFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormArrayFieldInput.tsxindex b6b3c7dfc27..11fefb120aa 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormArrayFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormArrayFieldInput.tsx@@ -56,13 +56,13 @@ const StyledDisplayModeContainer = styled.div`align-items: center;background: transparent;border: none;+ box-sizing: border-box;+ cursor: pointer;display: flex;font-family: inherit;+ height: 30px;padding-inline: ${themeCssVariables.spacing[2]};width: 100%;- height: 30px;- cursor: pointer;- box-sizing: border-box;&:hover,&[data-open='true'] {diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormBooleanFieldToggleInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormBooleanFieldToggleInput.tsxindex e9eedc10c14..8056f0fc7a4 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormBooleanFieldToggleInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormBooleanFieldToggleInput.tsx@@ -22,23 +22,23 @@ const StyledDescription = styled.span`color: ${themeCssVariables.font.color.secondary};display: flex;font-size: ${themeCssVariables.font.size.md};- padding-left: ${themeCssVariables.spacing[2]};- white-space: nowrap;overflow: hidden;+ padding-left: ${themeCssVariables.spacing[2]};text-overflow: ellipsis;+ white-space: nowrap;`;const StyledToggleContainer = styled.div`background-color: ${themeCssVariables.background.transparent.lighter};- border-top: 1px solid ${themeCssVariables.border.color.medium};border-bottom: 1px solid ${themeCssVariables.border.color.medium};- border-right: 1px solid ${themeCssVariables.border.color.medium};border-bottom-right-radius: ${themeCssVariables.border.radius.sm};+ border-right: 1px solid ${themeCssVariables.border.color.medium};+ border-top: 1px solid ${themeCssVariables.border.color.medium};border-top-right-radius: ${themeCssVariables.border.radius.sm};display: flex;+ padding-bottom: ${themeCssVariables.spacing[2]};padding-right: ${themeCssVariables.spacing[2]};padding-top: ${themeCssVariables.spacing[2]};- padding-bottom: ${themeCssVariables.spacing[2]};`;export const FormBooleanFieldToggleInput = ({diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormDateFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormDateFieldInput.tsxindex 0b147d33a56..65bb572145b 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormDateFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormDateFieldInput.tsx@@ -49,12 +49,15 @@ const StyledDateInputAbsoluteContainer = styled.div`const StyledDateInput = styled.input<{ hasError?: boolean }>`background-color: transparent;border: none;+ color: ${({ hasError }) =>+ hasError+ ? themeCssVariables.color.red+ : themeCssVariables.font.color.primary};color: ${themeCssVariables.font.color.primary};font-family: ${themeCssVariables.font.family};font-size: inherit;font-weight: inherit;outline: none;- padding: ${themeCssVariables.spacing[0]} ${themeCssVariables.spacing[2]};&::placeholder,&::-webkit-input-placeholder {@@ -67,10 +70,7 @@ const StyledDateInput = styled.input<{ hasError?: boolean }>`color: ${themeCssVariables.font.color.tertiary};}- color: ${({ hasError }) =>- hasError- ? themeCssVariables.color.red- : themeCssVariables.font.color.primary};+ padding: ${themeCssVariables.spacing[0]} ${themeCssVariables.spacing[2]};`;const StyledDateInputContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFieldInputInnerContainer.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFieldInputInnerContainer.tsxindex 0a2efe53014..0b330df0fde 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFieldInputInnerContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFieldInputInnerContainer.tsx@@ -18,13 +18,13 @@ const StyledFormFieldInputInnerContainer = styled.div<>`background-color: ${themeCssVariables.background.transparent.lighter};border: 1px solid ${themeCssVariables.border.color.medium};- border-top-left-radius: ${themeCssVariables.border.radius.sm};border-bottom-left-radius: ${themeCssVariables.border.radius.sm};-border-bottom-right-radius: ${({ multiline, hasRightElement }) =>multiline || !hasRightElement ? themeCssVariables.border.radius.sm : '0'};+border-right: ${({ multiline, hasRightElement }) =>multiline || !hasRightElement ? 'auto' : 'none'};+ border-top-left-radius: ${themeCssVariables.border.radius.sm};border-top-right-radius: ${({ multiline, hasRightElement }) =>multiline || !hasRightElement ? themeCssVariables.border.radius.sm : '0'};box-sizing: border-box;diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFieldInputRowContainer.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFieldInputRowContainer.tsxindex 36ceb9c1634..09a8749578c 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFieldInputRowContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFieldInputRowContainer.tsx@@ -8,15 +8,15 @@ const StyledFormFieldInputRowContainer = styled.div<{}>`display: flex;flex-direction: row;- position: relative;-height: ${({ multiline }) => (multiline ? 'auto' : '32px')};+line-height: ${({ multiline }) =>multiline ? `${LINE_HEIGHT}px` : 'normal'};max-height: ${({ multiline, maxHeight }) =>multiline ? `${maxHeight ?? 5 * LINE_HEIGHT}px` : 'none'};min-height: ${({ multiline }) =>multiline ? `${3 * LINE_HEIGHT}px` : 'auto'};+ position: relative;`;export const FormFieldInputRowContainer = StyledFormFieldInputRowContainer;diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiSelectFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiSelectFieldInput.tsxindex b4bc148e056..c8b858de307 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiSelectFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiSelectFieldInput.tsx@@ -54,11 +54,11 @@ const StyledDisplayModeContainer = styled.div`align-items: center;background: transparent;border: none;+ cursor: pointer;display: flex;font-family: inherit;padding-inline: ${themeCssVariables.spacing[2]};width: 100%;- cursor: pointer;&:hover,&[data-open='true'] {@@ -68,8 +68,8 @@ const StyledDisplayModeContainer = styled.div`const StyledSelectInputContainer = styled.div`position: absolute;- z-index: 1;top: ${themeCssVariables.spacing[9]};+ z-index: 1;`;const StyledPlaceholderContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormNestedFieldInputContainer.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormNestedFieldInputContainer.tsxindex e216bbe50a0..c2313d8af18 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormNestedFieldInputContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormNestedFieldInputContainer.tsx@@ -2,11 +2,11 @@ import { styled } from '@linaria/react';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledFormNestedFieldInputContainer = styled.div`- display: flex;- flex-direction: column;background: ${themeCssVariables.background.secondary};border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.sm};+ display: flex;+ flex-direction: column;gap: ${themeCssVariables.spacing[2]};padding: ${themeCssVariables.spacing[2]};`;diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormSingleRecordPicker.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormSingleRecordPicker.tsxindex 1a2a517d4ab..75052fcd1bb 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormSingleRecordPicker.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormSingleRecordPicker.tsx@@ -24,11 +24,11 @@ import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledFormSelectContainerWrapper = styled.div<{ readonly?: boolean }>`align-items: center;+ cursor: ${({ readonly }) => (readonly ? 'default' : 'pointer')};height: 32px;justify-content: space-between;- padding-right: ${themeCssVariables.spacing[2]};- cursor: ${({ readonly }) => (readonly ? 'default' : 'pointer')};+ padding-right: ${themeCssVariables.spacing[2]};&:hover,&[data-open='true'] {diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/TextVariableEditor.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/TextVariableEditor.tsxindex c32121ca8a1..49f85ae2b66 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/TextVariableEditor.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/TextVariableEditor.tsx@@ -7,35 +7,35 @@ const StyledEditor = styled.div<{multiline?: boolean;readonly?: boolean;}>`- width: 100%;- display: flex;box-sizing: border-box;+ display: flex;padding-right: ${({ multiline }) =>multiline ? themeCssVariables.spacing[4] : '0'};+ width: 100%;.editor-content {width: 100%;}.tiptap {- padding: ${themeCssVariables.spacing[1]} ${themeCssVariables.spacing[2]};+ align-items: ${({ multiline }) => (multiline ? 'top' : 'center')};+ border: none !important;box-sizing: border-box;- display: flex;- height: 100%;- overflow-x: auto;- overflow-y: ${({ multiline }) => (multiline ? 'auto' : 'hidden')};- scrollbar-width: none;- &::-webkit-scrollbar {- display: none;- }color: ${({ readonly }) =>readonly? themeCssVariables.font.color.light: themeCssVariables.font.color.primary};+ display: flex;font-family: ${themeCssVariables.font.family};font-weight: ${themeCssVariables.font.weight.regular};- border: none !important;- align-items: ${({ multiline }) => (multiline ? 'top' : 'center')};+ &::-webkit-scrollbar {+ display: none;+ }+ height: 100%;+ overflow-x: auto;+ overflow-y: ${({ multiline }) => (multiline ? 'auto' : 'hidden')};+ padding: ${themeCssVariables.spacing[1]} ${themeCssVariables.spacing[2]};+ scrollbar-width: none;white-space: ${({ multiline }) => (multiline ? 'pre' : 'nowrap')};p.is-editor-empty:first-of-type::before {diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/ForbiddenFieldDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/ForbiddenFieldDisplay.tsxindex 574d01a98f4..a5a6742e3dd 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/ForbiddenFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/ForbiddenFieldDisplay.tsx@@ -6,16 +6,16 @@ import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`align-items: center;- display: inline-flex;-background: ${themeCssVariables.background.transparent.light};++ border-radius: 4px;color: ${themeCssVariables.font.color.tertiary};- font-weight: ${themeCssVariables.font.weight.regular};+ display: inline-flex;font-size: ${themeCssVariables.font.size.md};- padding: ${themeCssVariables.spacing[1]};+ font-weight: ${themeCssVariables.font.weight.regular};gap: ${themeCssVariables.spacing[1]};- border-radius: 4px;+ padding: ${themeCssVariables.spacing[1]};`;export const ForbiddenFieldDisplay = () => {diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/MultiItemBaseInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/MultiItemBaseInput.tsxindex 187085ba98e..4990d5b5f89 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/MultiItemBaseInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/MultiItemBaseInput.tsx@@ -15,14 +15,20 @@ const StyledInput = styled.input<{hasError?: boolean;hasItem: boolean;}>`+ background-color: ${({ hasItem }) =>+ hasItem ? themeCssVariables.background.transparent.lighter : 'transparent'};background-color: transparent;+ border: ${({ hasItem, hasError }) =>+ hasItem+ ? hasError+ ? `1px solid ${themeCssVariables.border.color.danger}`+ : `1px solid ${themeCssVariables.border.color.medium}`+ : 'none'};border: none;+ border-radius: ${({ hasItem }) => (hasItem ? '4px' : '0')};+ box-sizing: border-box;color: ${themeCssVariables.font.color.primary};font-family: ${themeCssVariables.font.family};- font-size: inherit;- font-weight: inherit;- outline: none;- padding: ${themeCssVariables.spacing[0]} ${themeCssVariables.spacing[2]};&::placeholder,&::-webkit-input-placeholder {@@ -31,23 +37,17 @@ const StyledInput = styled.input<{font-weight: ${themeCssVariables.font.weight.medium};}- background-color: ${({ hasItem }) =>- hasItem ? themeCssVariables.background.transparent.lighter : 'transparent'};- border: ${({ hasItem, hasError }) =>- hasItem- ? hasError- ? `1px solid ${themeCssVariables.border.color.danger}`- : `1px solid ${themeCssVariables.border.color.medium}`- : 'none'};- border-radius: ${({ hasItem }) => (hasItem ? '4px' : '0')};- box-sizing: border-box;+ font-size: inherit;font-weight: ${themeCssVariables.font.weight.medium};+ font-weight: inherit;height: 32px;- position: relative;- width: 100%;-+ outline: none;+ padding: ${themeCssVariables.spacing[0]} ${themeCssVariables.spacing[2]};padding-right: ${({ withRightComponent }) =>withRightComponent ? '32px' : '0'};+ position: relative;++ width: 100%;`;const StyledInputContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RawJsonFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RawJsonFieldInput.tsxindex 4768e75881a..e431d5adf84 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RawJsonFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RawJsonFieldInput.tsx@@ -21,15 +21,15 @@ const CONTAINER_HEIGHT = 300;const StyledContainer = styled.div`box-sizing: border-box;height: ${CONTAINER_HEIGHT}px;- width: 400px;- position: relative;overflow-y: auto;+ position: relative;+ width: 400px;`;const StyledSwitchModeButtonContainer = styled.div`position: fixed;- top: ${themeCssVariables.spacing[1]};right: ${themeCssVariables.spacing[1]};+ top: ${themeCssVariables.spacing[1]};`;const StyledCodeEditorContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RichTextFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RichTextFieldInput.tsxindex 97cfcf7a209..9100a70caa9 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RichTextFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RichTextFieldInput.tsx@@ -24,13 +24,13 @@ const ActivityRichTextEditor = lazy(() =>const StyledContainer = styled.div`background-color: ${themeCssVariables.background.primary};- width: 480px;+ box-sizing: border-box;+ display: flex;+ margin: 0 0 0 calc(-1 * ${themeCssVariables.spacing[5]});padding: ${themeCssVariables.spacing[2]} ${themeCssVariables.spacing[2]}${themeCssVariables.spacing[2]} ${themeCssVariables.spacing[12]};- margin: 0 0 0 calc(-1 * ${themeCssVariables.spacing[5]});- display: flex;- box-sizing: border-box;position: relative;+ width: 480px;`;const StyledCollapseButton = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexContainer.tsx b/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexContainer.tsxindex 24323569b67..2f940d4df07 100644--- a/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexContainer.tsx@@ -21,16 +21,16 @@ const StyledContainer = styled.div`display: flex;flex-direction: column;height: 100%;- width: 100%;-overflow: hidden;++ width: 100%;`;const StyledContainerWithPadding = styled.div`box-sizing: border-box;flex: 1;- min-height: 0;margin-left: ${themeCssVariables.spacing[2]};+ min-height: 0;`;export const RecordIndexContainer = () => {diff --git a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsxindex b41eba65935..60a7639b44c 100644--- a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx@@ -55,14 +55,14 @@ const StyledLabelContainer = styled.div<{ width?: number }>``;const StyledInlineCellBaseContainer = styled.div<{ readonly: boolean }>`+ align-items: center;box-sizing: border-box;- width: 100%;+ cursor: ${({ readonly }) => (readonly ? 'default' : 'pointer')};display: flex;- height: fit-content;gap: ${themeCssVariables.spacing[1]};+ height: fit-content;user-select: none;- align-items: center;- cursor: ${({ readonly }) => (readonly ? 'default' : 'pointer')};+ width: 100%;`;export const StyledSkeletonDiv = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellDisplayMode.tsx b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellDisplayMode.tsxindex e5a12663bb1..e64daaefa5e 100644--- a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellDisplayMode.tsx+++ b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellDisplayMode.tsx@@ -18,26 +18,26 @@ const StyledRecordInlineCellNormalModeOuterContainer = styled.div<'isDisplayModeFixHeight' | 'disableHoverEffect' | 'readonly'> & { isHovered?: boolean }>`- outline: 1px solid- ${({ isHovered, readonly }) =>- isHovered && readonly- ? themeCssVariables.border.color.medium- : 'transparent'};align-items: center;+ background-color: ${({ isHovered, readonly, disableHoverEffect }) =>+ isHovered && !readonly && !disableHoverEffect+ ? themeCssVariables.background.transparent.light+ : 'transparent'};border-radius: ${themeCssVariables.border.radius.sm};+ cursor: ${({ isHovered, readonly }) =>+ isHovered && !readonly ? 'pointer' : 'default'};display: flex;height: ${({ isDisplayModeFixHeight }) =>isDisplayModeFixHeight ? '16px' : 'auto'};min-height: 16px;+ outline: 1px solid+ ${({ isHovered, readonly }) =>+ isHovered && readonly+ ? themeCssVariables.border.color.medium+ : 'transparent'};overflow: hidden;- padding-right: ${themeCssVariables.spacing[1]};padding-left: ${themeCssVariables.spacing[1]};- background-color: ${({ isHovered, readonly, disableHoverEffect }) =>- isHovered && !readonly && !disableHoverEffect- ? themeCssVariables.background.transparent.light- : 'transparent'};- cursor: ${({ isHovered, readonly }) =>- isHovered && !readonly ? 'pointer' : 'default'};+ padding-right: ${themeCssVariables.spacing[1]};`;const StyledRecordInlineCellNormalModeInnerContainer = styled.div`@@ -47,11 +47,11 @@ const StyledRecordInlineCellNormalModeInnerContainer = styled.div`height: fit-content;overflow: hidden;+ padding-bottom: 2px;+ padding-top: 2px;+text-overflow: ellipsis;white-space: nowrap;-- padding-top: 2px;- padding-bottom: 2px;`;const StyledEmptyField = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellEditMode.tsx b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellEditMode.tsxindex 3462661ae1f..87ffb3a9ed6 100644--- a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellEditMode.tsx+++ b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellEditMode.tsx@@ -21,12 +21,12 @@ import { createPortal } from 'react-dom';const StyledInlineCellEditModeContainer = styled.div`align-items: center;+ background: transparent;display: flex;- width: 100%;- position: absolute;height: 24px;+ position: absolute;- background: transparent;+ width: 100%;`;type RecordInlineCellEditModeProps = {diff --git a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellHoveredPortalContent.tsx b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellHoveredPortalContent.tsxindex 5b921bfc09e..a19274bc58e 100644--- a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellHoveredPortalContent.tsx+++ b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellHoveredPortalContent.tsx@@ -9,20 +9,20 @@ const StyledRecordTableCellHoveredPortalContent = styled.div<{align-items: center;display: flex;gap: ${themeCssVariables.spacing[1]};- width: 100%;-justify-content: ${({ isCentered }) =>isCentered === true ? 'center' : 'normal'};++ width: 100%;`;const StyledInlineCellBaseContainer = styled.div<{ readonly: boolean }>`+ align-items: center;box-sizing: border-box;- width: 100%;display: flex;- height: fit-content;gap: ${themeCssVariables.spacing[1]};+ height: fit-content;user-select: none;- align-items: center;+ width: 100%;`;type RecordInlineCellHoveredPortalContentProps = {diff --git a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellValue.tsx b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellValue.tsxindex 745fb242927..a2e4e228680 100644--- a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellValue.tsx+++ b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellValue.tsx@@ -12,13 +12,13 @@ const StyledClickableContainer = styled.div<{isCentered?: boolean;}>`align-items: center;+ cursor: ${({ readonly }) => (readonly ? 'default' : 'pointer')};display: flex;gap: ${themeCssVariables.spacing[1]};- width: 100%;justify-content: ${({ isCentered }) =>isCentered === true ? 'center' : 'normal'};- cursor: ${({ readonly }) => (readonly ? 'default' : 'pointer')};+ width: 100%;`;export const RecordInlineCellValue = () => {diff --git a/packages/twenty-front/src/modules/object-record/record-inline-cell/property-box/components/PropertyBox.tsx b/packages/twenty-front/src/modules/object-record/record-inline-cell/property-box/components/PropertyBox.tsxindex d697638feff..1983be89ac7 100644--- a/packages/twenty-front/src/modules/object-record/record-inline-cell/property-box/components/PropertyBox.tsx+++ b/packages/twenty-front/src/modules/object-record/record-inline-cell/property-box/components/PropertyBox.tsx@@ -17,12 +17,12 @@ const StyledPropertyBoxContainer = styled.div<{display: flex;flex-direction: column;gap: ${themeCssVariables.spacing[2]};- padding-top: ${themeCssVariables.spacing[3]};padding-bottom: ${themeCssVariables.spacing[3]};padding-left: ${({ noHorizontalPadding }) =>noHorizontalPadding ? 0 : themeCssVariables.spacing[3]};padding-right: ${({ noHorizontalPadding }) =>noHorizontalPadding ? 0 : themeCssVariables.spacing[2]};+ padding-top: ${themeCssVariables.spacing[3]};`;export const PropertyBox = ({diff --git a/packages/twenty-front/src/modules/object-record/record-inline-cell/property-box/components/PropertyBoxSkeletonLoader.tsx b/packages/twenty-front/src/modules/object-record/record-inline-cell/property-box/components/PropertyBoxSkeletonLoader.tsxindex e0a04dd150c..a4b8ead4c59 100644--- a/packages/twenty-front/src/modules/object-record/record-inline-cell/property-box/components/PropertyBoxSkeletonLoader.tsx+++ b/packages/twenty-front/src/modules/object-record/record-inline-cell/property-box/components/PropertyBoxSkeletonLoader.tsx@@ -8,8 +8,8 @@ const StyledSkeletonDiv = styled.div`align-items: center;display: flex;gap: ${themeCssVariables.spacing[1]};- width: 100%;height: 24px;+ width: 100%;`;export const PropertyBoxSkeletonLoader = () => {const { theme } = useContext(ThemeContext);diff --git a/packages/twenty-front/src/modules/object-record/record-merge/components/MergeRecordsContainer.tsx b/packages/twenty-front/src/modules/object-record/record-merge/components/MergeRecordsContainer.tsxindex 75ff275bba6..b5c0a8a6c89 100644--- a/packages/twenty-front/src/modules/object-record/record-merge/components/MergeRecordsContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-merge/components/MergeRecordsContainer.tsx@@ -21,10 +21,10 @@ import { MergeSettingsTab } from './MergeSettingsTab';const StyledShowPageRightContainer = styled.div`display: flex;flex-direction: column;- justify-content: start;- width: 100%;height: 100%;+ justify-content: start;overflow: auto;+ width: 100%;`;const StyledTabListContainer = styled.div`@@ -33,9 +33,9 @@ const StyledTabListContainer = styled.div``;const StyledContentContainer = styled.div`+ background: ${themeCssVariables.background.primary};flex: 1;overflow-y: auto;- background: ${themeCssVariables.background.primary};padding-bottom: ${themeCssVariables.spacing[16]};`;diff --git a/packages/twenty-front/src/modules/object-record/record-merge/components/MergeRecordsFooter.tsx b/packages/twenty-front/src/modules/object-record/record-merge/components/MergeRecordsFooter.tsxindex b4bb7e2c582..bd02997a6dd 100644--- a/packages/twenty-front/src/modules/object-record/record-merge/components/MergeRecordsFooter.tsx+++ b/packages/twenty-front/src/modules/object-record/record-merge/components/MergeRecordsFooter.tsx@@ -19,8 +19,8 @@ const StyledFooterContainer = styled.div``;const StyledFooterActions = styled.div`- display: flex;align-items: flex-end;+ display: flex;gap: ${themeCssVariables.spacing[2]};`;diff --git a/packages/twenty-front/src/modules/object-record/record-show/components/PageLayoutRecordPageRenderer.tsx b/packages/twenty-front/src/modules/object-record/record-show/components/PageLayoutRecordPageRenderer.tsxindex 5607ad67ef5..8558e453b54 100644--- a/packages/twenty-front/src/modules/object-record/record-show/components/PageLayoutRecordPageRenderer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-show/components/PageLayoutRecordPageRenderer.tsx@@ -25,14 +25,14 @@ const StyledShowPageRightContainer = styled.div`flex-direction: column;height: 100%;justify-content: start;- width: 100%;overflow: auto;+ width: 100%;`;const StyledContentContainer = styled.div<{ isInSidePanel: boolean }>`+ background: ${themeCssVariables.background.primary};flex: 1;overflow-y: auto;- background: ${themeCssVariables.background.primary};padding-bottom: ${({ isInSidePanel }) =>isInSidePanel ? themeCssVariables.spacing[16] : 0};`;diff --git a/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableStyleWrapper.tsx b/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableStyleWrapper.tsxindex ee38f68d64a..a8a327a2038 100644--- a/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableStyleWrapper.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableStyleWrapper.tsx@@ -53,10 +53,10 @@ const StyledTable = styled.div<{display: flex;flex-wrap: wrap;- width: 100%;-position: relative;+ width: 100%;+div.header-cell {position: sticky;top: 0;@@ -72,10 +72,10 @@ const StyledTable = styled.div<{}div.header-cell:nth-of-type(1) {- left: 0px;-background-color: ${themeCssVariables.background.primary};+ left: 0px;+z-index: ${({ hasRecordGroups }) =>hasRecordGroups? TABLE_Z_INDEX.headerColumns.withGroups.headerColumnsSticky@@ -83,10 +83,10 @@ const StyledTable = styled.div<{}div.header-cell:nth-of-type(2) {+ background-color: ${themeCssVariables.background.primary};left: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;- top: 0;- background-color: ${themeCssVariables.background.primary};+ top: 0;z-index: ${({ hasRecordGroups }) =>hasRecordGroups@@ -95,10 +95,10 @@ const StyledTable = styled.div<{}div.header-cell:nth-of-type(3) {+ background-color: ${themeCssVariables.background.primary};left: ${`${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH + RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px`};- right: 0;- background-color: ${themeCssVariables.background.primary};+ right: 0;z-index: ${({ hasRecordGroups }) =>hasRecordGroups@@ -109,8 +109,8 @@ const StyledTable = styled.div<{}div.table-cell:nth-of-type(1) {- position: sticky;left: 0px;+ position: sticky;z-index: ${({ hasRecordGroups }) =>hasRecordGroups? TABLE_Z_INDEX.cell.withGroups.sticky@@ -118,8 +118,8 @@ const StyledTable = styled.div<{}div.table-cell:nth-of-type(2) {- position: sticky;left: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;+ position: sticky;z-index: ${({ hasRecordGroups }) =>hasRecordGroups? TABLE_Z_INDEX.cell.withGroups.sticky@@ -127,15 +127,15 @@ const StyledTable = styled.div<{}div.table-cell-0-0 {- position: sticky;left: ${`${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH + RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px`};+ position: sticky;${HorizontalScrollBoxShadowCSS}}div.table-cell:nth-of-type(3) {- position: sticky;left: ${`${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH + RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px`};+ position: sticky;z-index: ${({ hasRecordGroups }) =>hasRecordGroups? TABLE_Z_INDEX.cell.withGroups.sticky@@ -145,43 +145,43 @@ const StyledTable = styled.div<{}div.${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH_CLASS_NAME} {- width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;- min-width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;max-width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;+ min-width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;+ width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;}div.${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH_CLASS_NAME} {- width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;- min-width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;max-width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;+ min-width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;+ width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;}div.${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH_CLASS_NAME} {- width: ${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH}px;- min-width: ${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH}px;max-width: ${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH}px;+ min-width: ${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH}px;+ width: ${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH}px;}${columnFieldWidthRules}div.${RECORD_TABLE_COLUMN_LAST_EMPTY_COLUMN_WIDTH_CLASS_NAME} {- width: var(${RECORD_TABLE_COLUMN_LAST_EMPTY_COLUMN_WIDTH_VARIABLE_NAME});- min-width: var(+ max-width: var(${RECORD_TABLE_COLUMN_LAST_EMPTY_COLUMN_WIDTH_VARIABLE_NAME});- max-width: var(+ min-width: var(${RECORD_TABLE_COLUMN_LAST_EMPTY_COLUMN_WIDTH_VARIABLE_NAME});+ width: var(${RECORD_TABLE_COLUMN_LAST_EMPTY_COLUMN_WIDTH_VARIABLE_NAME});}div.${RECORD_TABLE_COLUMN_WITH_GROUP_LAST_EMPTY_COLUMN_WIDTH_CLASS_NAME} {- width: var(+ max-width: var(${RECORD_TABLE_COLUMN_WITH_GROUP_LAST_EMPTY_COLUMN_WIDTH_VARIABLE_NAME});min-width: var(${RECORD_TABLE_COLUMN_WITH_GROUP_LAST_EMPTY_COLUMN_WIDTH_VARIABLE_NAME});- max-width: var(+ width: var(${RECORD_TABLE_COLUMN_WITH_GROUP_LAST_EMPTY_COLUMN_WIDTH_VARIABLE_NAME});}diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-body/components/RecordTableBodyVirtualizedDraggableClone.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-body/components/RecordTableBodyVirtualizedDraggableClone.tsxindex 184107b410f..c6d190c5206 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-body/components/RecordTableBodyVirtualizedDraggableClone.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-body/components/RecordTableBodyVirtualizedDraggableClone.tsx@@ -66,60 +66,60 @@ const cloneColumnFieldWidthRules = Array.from(const StyledRowDraggableCloneCSSBridge = styled.div`div.table-cell:nth-of-type(1) {- position: sticky;left: 0px;+ position: sticky;z-index: ${TABLE_Z_INDEX.cell.withGroups.sticky};}div.table-cell:nth-of-type(2) {- position: sticky;left: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;+ position: sticky;z-index: ${TABLE_Z_INDEX.cell.withoutGroups.sticky};}div.table-cell-0-0 {- position: sticky;left: ${`${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH + RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px`};+ position: sticky;${HorizontalScrollBoxShadowCSS}}div.table-cell:nth-of-type(3) {- position: sticky;left: ${`${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH + RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px`};+ position: sticky;z-index: ${TABLE_Z_INDEX.cell.withoutGroups.sticky};${HorizontalScrollBoxShadowCSS}}div.${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH_CLASS_NAME} {- width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;- min-width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;max-width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;+ min-width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;+ width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;}div.${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH_CLASS_NAME} {- width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;- min-width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;max-width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;+ min-width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;+ width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;}div.${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH_CLASS_NAME} {- width: ${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH}px;- min-width: ${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH}px;max-width: ${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH}px;+ min-width: ${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH}px;+ width: ${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH}px;}${cloneColumnFieldWidthRules}div.${RECORD_TABLE_COLUMN_LAST_EMPTY_COLUMN_WIDTH_CLASS_NAME} {- width: var(${RECORD_TABLE_COLUMN_LAST_EMPTY_COLUMN_WIDTH_VARIABLE_NAME});- min-width: var(+ max-width: var(${RECORD_TABLE_COLUMN_LAST_EMPTY_COLUMN_WIDTH_VARIABLE_NAME});- max-width: var(+ min-width: var(${RECORD_TABLE_COLUMN_LAST_EMPTY_COLUMN_WIDTH_VARIABLE_NAME});+ width: var(${RECORD_TABLE_COLUMN_LAST_EMPTY_COLUMN_WIDTH_VARIABLE_NAME});}`;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellBaseContainer.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellBaseContainer.tsxindex 8d095bab853..f6edb380784 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellBaseContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellBaseContainer.tsx@@ -19,18 +19,18 @@ const StyledBaseContainer = styled.div<{cursor: ${({ isReadOnly }) => (isReadOnly ? 'default' : 'pointer')};display: flex;height: 32px;- user-select: none;-position: relative;+ user-select: none;+&:hover {- outline: ${({ isReadOnly, fontColorMedium }) =>- isReadOnly ? `1px solid ${fontColorMedium}` : 'unset'};- border-radius: ${({ isReadOnly }) => (isReadOnly ? '0px' : 'unset')};background-color: ${({ isReadOnly, backgroundColorSecondary }) =>isReadOnly ? backgroundColorSecondary : 'unset'};+ border-radius: ${({ isReadOnly }) => (isReadOnly ? '0px' : 'unset')};color: ${({ isReadOnly, fontColorSecondary }) =>isReadOnly ? fontColorSecondary : 'unset'};+ outline: ${({ isReadOnly, fontColorMedium }) =>+ isReadOnly ? `1px solid ${fontColorMedium}` : 'unset'};svg {color: ${({ isReadOnly, fontColorSecondary }) =>diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellButtons.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellButtons.tsxindex ca0585fdfa7..9a243f34e69 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellButtons.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellButtons.tsx@@ -5,13 +5,13 @@ import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';import { AnimatedContainer } from 'twenty-ui/utilities';const StyledButtonContainer = styled.div`- margin: ${themeCssVariables.spacing[1]};+ border: 1px solid ${themeCssVariables.border.color.strong};@media (max-width: ${MOBILE_VIEWPORT}px) {position: relative;right: 7px;}border-radius: ${themeCssVariables.border.radius.sm};- border: 1px solid ${themeCssVariables.border.color.strong};+ margin: ${themeCssVariables.spacing[1]};`;type RecordTableCellButtonsProps = {diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckbox.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckbox.tsxindex 6f311a5ea6c..2336a27196e 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckbox.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckbox.tsx@@ -18,8 +18,8 @@ const StyledContainer = styled.div`height: ${RECORD_TABLE_ROW_HEIGHT}px;justify-content: center;min-width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH};- width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH};padding-right: ${themeCssVariables.spacing[1]};+ width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH};`;const StyledRecordTableTdContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckboxPlaceholder.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckboxPlaceholder.tsxindex 6b7638a9eb2..b111317a0fe 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckboxPlaceholder.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckboxPlaceholder.tsx@@ -15,8 +15,8 @@ const StyledContainer = styled.div`height: ${RECORD_TABLE_ROW_HEIGHT}px;justify-content: center;min-width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH};- width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH};padding-right: ${themeCssVariables.spacing[1]};+ width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH};`;const StyledRecordTableTdContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellDisplayContainer.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellDisplayContainer.tsxindex f68ff053b5f..3fe442e02d2 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellDisplayContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellDisplayContainer.tsx@@ -17,8 +17,8 @@ const StyledInnerContainer = styled.div`display: flex;height: 100%;overflow: hidden;- width: 100%;white-space: nowrap;+ width: 100%;`;const StyledEmptyPlaceholderField = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellDragAndDrop.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellDragAndDrop.tsxindex 4003f987974..4644b26f005 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellDragAndDrop.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellDragAndDrop.tsx@@ -9,10 +9,10 @@ import { RecordTableCellStyleWrapper } from '@/object-record/record-table/recordimport { IconListViewGrip } from 'twenty-ui/input';const StyledContainer = styled.div`- height: ${RECORD_TABLE_ROW_HEIGHT}px;border-color: transparent;cursor: grab;display: flex;+ height: ${RECORD_TABLE_ROW_HEIGHT}px;&:hover .icon {opacity: 1;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFirstRowFirstColumn.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFirstRowFirstColumn.tsxindex 6e5dc33d7f5..6e5bbf5d5fe 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFirstRowFirstColumn.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFirstRowFirstColumn.tsx@@ -15,21 +15,21 @@ const StyledRecordTableTd = styled.div<{hasBottomBorder?: boolean;zIndex: number;}>`+ background: ${({ backgroundColor, isDragging }) =>+ isDragging ? 'transparent' : backgroundColor};+border-bottom: 1px solid${({ borderColor, hasBottomBorder, isDragging }) =>hasBottomBorder && !isDragging ? borderColor : 'transparent'};-- color: ${({ fontColor }) => fontColor};border-right: ${({ borderColor, hasRightBorder }) =>hasRightBorder ? `1px solid ${borderColor}` : 'none'};+ color: ${({ fontColor }) => fontColor};+padding: 0;text-align: left;- background: ${({ backgroundColor, isDragging }) =>- isDragging ? 'transparent' : backgroundColor};-z-index: ${({ zIndex }) => zIndex};`;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellLoading.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellLoading.tsxindex e74377da758..fc994f123e2 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellLoading.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellLoading.tsx@@ -6,8 +6,8 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledStaticCellSkeleton = styled.div`background-color: ${themeCssVariables.background.tertiary};border-radius: ${themeCssVariables.border.radius.sm};- padding: 8px;margin: 8px;+ padding: 8px;`;export const RecordTableCellLoading = ({diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellStyleWrapper.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellStyleWrapper.tsxindex 335ca32ba57..6010329e536 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellStyleWrapper.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellStyleWrapper.tsx@@ -12,20 +12,20 @@ export const StyledCell = styled.div<{hasRightBorder?: boolean;hasBottomBorder?: boolean;}>`+ background: ${({ backgroundColor, isDragging }) =>+ isDragging ? 'transparent' : backgroundColor};+border-bottom: 1px solid${({ borderColor, hasBottomBorder, isDragging }) =>hasBottomBorder && !isDragging ? borderColor : 'transparent'};-- color: ${({ fontColor }) => fontColor};border-right: ${({ borderColor, hasRightBorder }) =>hasRightBorder ? `1px solid ${borderColor}` : 'none'};+ color: ${({ fontColor }) => fontColor};+padding: 0;text-align: left;-- background: ${({ backgroundColor, isDragging }) =>- isDragging ? 'transparent' : backgroundColor};`;export const RecordTableCellStyleWrapper = ({diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableDragAndDropPlaceholderCell.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableDragAndDropPlaceholderCell.tsxindex 17bd659de89..accaca78843 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableDragAndDropPlaceholderCell.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableDragAndDropPlaceholderCell.tsx@@ -5,16 +5,16 @@ import { cx } from '@linaria/core';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledPlaceholderDragAndDropCell = styled.div`+ background-color: ${themeCssVariables.background.primary};+ border-bottom: 1px solid ${themeCssVariables.background.primary};height: ${RECORD_TABLE_ROW_HEIGHT}px;- width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;- min-width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;- background-color: ${themeCssVariables.background.primary};+ left: 0;- border-bottom: 1px solid ${themeCssVariables.background.primary};+ min-width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;position: sticky;- left: 0;+ width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;`;export const RecordTableDragAndDropPlaceholderCell = ({diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableAggregateFooter.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableAggregateFooter.tsxindex 68b4128dd9d..91aaab3b1f2 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableAggregateFooter.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableAggregateFooter.tsx@@ -15,10 +15,10 @@ const StyledPlaceholderDragAndDropFooterCell = styled.div<{isTableWithGroups: boolean;}>`background-color: ${themeCssVariables.background.primary};- width: ${`${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH + RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px`};- position: sticky;- left: 0px;bottom: 0;+ left: 0px;+ position: sticky;+ width: ${`${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH + RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px`};z-index: ${({ isTableWithGroups }) =>isTableWithGroups@@ -30,9 +30,9 @@ const StyledPlaceholderAddButtonPlaceholderFooterCell = styled.div<{isTableWithGroups: boolean;}>`background-color: ${themeCssVariables.background.primary};- width: ${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH}px;- position: sticky;bottom: 0;+ position: sticky;+ width: ${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH}px;z-index: ${({ isTableWithGroups }) =>isTableWithGroups? TABLE_Z_INDEX.footer.tableWithGroups.default@@ -43,8 +43,8 @@ const StyledPlaceholderLastColumnEmptyFooterCell = styled.div<{isTableWithGroups: boolean;}>`background-color: ${themeCssVariables.background.primary};- position: sticky;bottom: 0;+ position: sticky;z-index: ${({ isTableWithGroups }) =>isTableWithGroups? TABLE_Z_INDEX.footer.tableWithGroups.defaultdiff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableAggregateFooterCell.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableAggregateFooterCell.tsxindex a4bff550783..0195e3cf75d 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableAggregateFooterCell.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableAggregateFooterCell.tsx@@ -20,29 +20,29 @@ const StyledColumnFooterCell = styled.div<{isTableWithGroups: boolean;}>`background-color: ${themeCssVariables.background.primary};- color: ${themeCssVariables.font.color.tertiary};-border-right: solid 1px ${themeCssVariables.background.primary};- padding: 0;+ bottom: 0;+ color: ${themeCssVariables.font.color.tertiary};++ height: ${RECORD_TABLE_ROW_HEIGHT}px;+ left: ${({ isFirstCell }) =>+ isFirstCell+ ? `${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH + RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px`+ : 'auto'};min-width: ${({ columnWidth }) => columnWidth}px;- width: ${({ columnWidth }) => columnWidth}px;- text-align: left;&:hover {background: ${themeCssVariables.background.secondary};}- height: ${RECORD_TABLE_ROW_HEIGHT}px;-overflow: hidden;+ padding: 0;+position: sticky;- bottom: 0;+ text-align: left;- left: ${({ isFirstCell }) =>- isFirstCell- ? `${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH + RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px`- : 'auto'};+ width: ${({ columnWidth }) => columnWidth}px;z-index: ${({ isFirstCell, isTableWithGroups }) =>isFirstCell? isTableWithGroups@@ -70,8 +70,8 @@ const StyledColumnFooterCell = styled.div<{const StyledColumnFootContainer = styled.div`position: relative;- z-index: 1;width: 100%;+ z-index: 1;`;export const RecordTableAggregateFooterCell = ({diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterValue.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterValue.tsxindex 30e3f839fcb..e14ce49963b 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterValue.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterValue.tsx@@ -7,35 +7,35 @@ import { isDefined } from 'twenty-shared/utils';import { OverflowingTextWithTooltip } from 'twenty-ui/display';const StyledText = styled.span`- overflow: hidden;- text-overflow: ellipsis;- white-space: nowrap;- display: flex;- height: 20px;align-items: center;- gap: 4px;+ display: flex;flex-grow: 1;-+ gap: 4px;+ height: 20px;+ overflow: hidden;padding-left: ${themeCssVariables.spacing[2]};+ text-overflow: ellipsis;++ white-space: nowrap;z-index: 1;`;const StyledValueContainer = styled.div`- overflow-x: auto;- white-space: nowrap;- scrollbar-width: none;-ms-overflow-style: none;+ align-items: center;+ display: flex;+ gap: 4px;&::-webkit-scrollbar {display: none;}- align-items: center;- display: flex;- gap: 4px;height: ${RECORD_TABLE_ROW_HEIGHT}px;justify-content: flex-end;+ overflow-x: auto;padding: 0 8px;+ scrollbar-width: none;+ white-space: nowrap;`;const StyledValue = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterValueCell.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterValueCell.tsxindex 0113f29e6a3..a30d25b706c 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterValueCell.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterValueCell.tsx@@ -15,22 +15,22 @@ import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledCell = styled.div<{ isUnfolded: boolean; isFirstCell: boolean }>`align-items: center;+ background: ${({ isUnfolded }) =>+ isUnfolded ? themeCssVariables.background.tertiary : 'none'};+ cursor: pointer;display: flex;flex-direction: row;++ flex-grow: 1;flex-shrink: 0;font-weight: ${themeCssVariables.font.weight.medium};-gap: ${themeCssVariables.spacing[1]};height: ${themeCssVariables.spacing[8]};justify-content: space-between;- min-width: ${themeCssVariables.spacing[7]};- flex-grow: 1;- max-width: 100%;- cursor: pointer;+ max-width: 100%;- background: ${({ isUnfolded }) =>- isUnfolded ? themeCssVariables.background.tertiary : 'none'};+ min-width: ${themeCssVariables.spacing[7]};padding-left: ${({ isFirstCell }) =>isFirstCell@@ -41,10 +41,10 @@ const StyledCell = styled.div<{ isUnfolded: boolean; isFirstCell: boolean }>`const StyledIconContainer = styled.div`align-items: center;display: flex;- height: 20px;- justify-content: center;flex-grow: 0;flex-shrink: 0;+ height: 20px;+ justify-content: center;padding-right: ${themeCssVariables.spacing[2]};`;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderAddColumnButton.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderAddColumnButton.tsxindex 447063226c4..23077819e7f 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderAddColumnButton.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderAddColumnButton.tsx@@ -24,24 +24,24 @@ import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledPlusIconHeaderCell = styled.div<{shouldDisplayBorderBottom: boolean;}>`+ background-color: ${themeCssVariables.background.primary};border-bottom: ${({ shouldDisplayBorderBottom }) =>shouldDisplayBorderBottom? `1px solid ${themeCssVariables.border.color.light}`: 'none'};- background-color: ${themeCssVariables.background.primary};- color: ${themeCssVariables.font.color.tertiary};border-right: ${themeCssVariables.border.color.light} !important;+ color: ${themeCssVariables.font.color.tertiary};cursor: pointer;- width: ${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH}px;-- z-index: 1;-height: ${RECORD_TABLE_ROW_HEIGHT}px;+max-height: ${RECORD_TABLE_ROW_HEIGHT}px;+ width: ${RECORD_TABLE_COLUMN_ADD_COLUMN_BUTTON_WIDTH}px;+ z-index: 1;+&:hover {background: ${themeCssVariables.background.secondary};}@@ -51,8 +51,8 @@ const StyledPlusIconContainer = styled.div`align-items: center;display: flex;height: ${RECORD_TABLE_ROW_HEIGHT}px;- width: 100%;justify-content: center;+ width: 100%;`;const StyledDropdownContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderCellContainer.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderCellContainer.tsxindex 6a003f469bb..35c46410033 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderCellContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderCellContainer.tsx@@ -7,24 +7,24 @@ const StyledHeaderCell = styled.div<{shouldDisplayBorderBottom: boolean;isResizing: boolean;}>`- color: ${themeCssVariables.font.color.tertiary};- padding: 0;- text-align: left;-- position: relative;-- height: ${RECORD_TABLE_ROW_HEIGHT}px;- max-height: ${RECORD_TABLE_ROW_HEIGHT}px;-background-color: ${themeCssVariables.background.primary};- border-right: 1px solid ${themeCssVariables.border.color.light};-border-bottom: ${({ shouldDisplayBorderBottom }) =>shouldDisplayBorderBottom? `1px solid ${themeCssVariables.border.color.light}`: 'none'};+ border-right: 1px solid ${themeCssVariables.border.color.light};- user-select: none;+ color: ${themeCssVariables.font.color.tertiary};++ cursor: ${({ isResizing }) => (isResizing ? 'col-resize' : 'pointer')};+ height: ${RECORD_TABLE_ROW_HEIGHT}px;++ max-height: ${RECORD_TABLE_ROW_HEIGHT}px;+ padding: 0;++ position: relative;++ text-align: left;&:hover {background: ${({ isResizing }) =>@@ -40,7 +40,7 @@ const StyledHeaderCell = styled.div<{: themeCssVariables.background.tertiary};}- cursor: ${({ isResizing }) => (isResizing ? 'col-resize' : 'pointer')};+ user-select: none;z-index: ${({ zIndex }) => zIndex ?? 'auto'};`;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderCheckboxColumn.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderCheckboxColumn.tsxindex 9760a6c083d..3b1a67f04d0 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderCheckboxColumn.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderCheckboxColumn.tsx@@ -26,27 +26,27 @@ const StyledContainer = styled.div<{shouldDisplayBorderBottom: boolean;}>`align-items: center;- display: flex;- height: ${RECORD_TABLE_ROW_HEIGHT}px;- justify-content: center;- min-width: 24px;- padding-right: ${themeCssVariables.spacing[1]};background-color: ${themeCssVariables.background.primary};border-bottom: ${({ shouldDisplayBorderBottom }) =>shouldDisplayBorderBottom? `1px solid ${themeCssVariables.border.color.light}`: 'none'};+ display: flex;+ height: ${RECORD_TABLE_ROW_HEIGHT}px;+ justify-content: center;+ min-width: 24px;+ padding-right: ${themeCssVariables.spacing[1]};`;const StyledColumnHeaderCell = styled.div`background-color: ${themeCssVariables.background.primary};- min-width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;box-sizing: border-box;-cursor: pointer;max-height: ${RECORD_TABLE_ROW_HEIGHT}px;++ min-width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;`;export const RecordTableHeaderCheckboxColumn = () => {diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderDragDropColumn.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderDragDropColumn.tsxindex cac4c178b57..d370ae5a523 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderDragDropColumn.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderDragDropColumn.tsx@@ -19,18 +19,18 @@ const StyledDragDropHeaderCell = styled.div<{backgroundColor: string;}>`background-color: ${({ backgroundColor }) => backgroundColor};- min-width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;- width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;- max-width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;- min-height: ${RECORD_TABLE_ROW_HEIGHT}px;- max-height: ${RECORD_TABLE_ROW_HEIGHT}px;-- cursor: pointer;-border-bottom: ${({ shouldDisplayBorderBottom }) =>shouldDisplayBorderBottom? `1px solid ${themeCssVariables.background.primary}`: 'none'};+ cursor: pointer;+ max-height: ${RECORD_TABLE_ROW_HEIGHT}px;+ max-width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;+ min-height: ${RECORD_TABLE_ROW_HEIGHT}px;++ min-width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;++ width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;`;export const RecordTableHeaderDragDropColumn = () => {diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderFirstCell.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderFirstCell.tsxindex 84177df26ad..931430b8661 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderFirstCell.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderFirstCell.tsx@@ -25,8 +25,8 @@ import { isDefined } from 'twenty-shared/utils';const StyledPlusButtonWrapper = styled.div`position: absolute;- top: 0;right: 0;+ top: 0;z-index: ${TABLE_Z_INDEX.headerColumns.withoutGroups.headerColumnsSticky};`;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderLastEmptyColumn.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderLastEmptyColumn.tsxindex c13e27e0dc2..9bcb6841aa5 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderLastEmptyColumn.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderLastEmptyColumn.tsx@@ -15,12 +15,12 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledLastColumnHeader = styled.div<{shouldDisplayBorderBottom: boolean;}>`+ background-color: ${themeCssVariables.background.primary};+border-bottom: ${({ shouldDisplayBorderBottom }) =>shouldDisplayBorderBottom? `1px solid ${themeCssVariables.border.color.light}`: 'none'};-- background-color: ${themeCssVariables.background.primary};border-left: none !important;color: ${themeCssVariables.font.color.tertiary};diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderResizeHandler.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderResizeHandler.tsxindex 92e5ac6fada..73903edcc7b 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderResizeHandler.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderResizeHandler.tsx@@ -13,8 +13,8 @@ const StyledResizeHandler = styled.div<{}>`bottom: 0;cursor: col-resize;- position: absolute;left: ${({ position }) => (position === 'left' ? '-1px' : 'auto')};+ position: absolute;right: ${({ position }) => (position === 'right' ? '-1px' : 'auto')};top: 0;width: 10px;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableActionRow.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableActionRow.tsxindex d9feb2ace7e..ab60a04fe6f 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableActionRow.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableActionRow.tsx@@ -27,14 +27,14 @@ const StyledFieldPlaceholderCell = styled.div<{ widthOfFields: number }>``;const StyledRecordTableDraggableTr = styled.div`- cursor: pointer;+ align-items: center;- border: none;background: ${themeCssVariables.background.primary};+ border: none;+ cursor: pointer;display: flex;flex-direction: row;- align-items: center;&:hover {div:not(:first-of-type) {@@ -57,10 +57,10 @@ const StyledIconContainer = styled.div`display: flex;height: ${RECORD_TABLE_ROW_HEIGHT}px;justify-content: center;- width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;+ left: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;position: sticky;- left: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;+ width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;`;const StyledActionTextContainer = styled.div<{ width: number }>`@@ -79,13 +79,13 @@ const StyledActionTextContainer = styled.div<{ width: number }>`const StyledText = styled.span`color: ${themeCssVariables.font.color.tertiary};- margin-left: ${themeCssVariables.spacing[2]};font-size: ${themeCssVariables.font.size.md};+ margin-left: ${themeCssVariables.spacing[2]};+ position: absolute;text-align: left;vertical-align: middle;- white-space: nowrap;- position: absolute;+ white-space: nowrap;`;type RecordTableActionRowProps = {diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableRowDiv.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableRowDiv.tsxindex 3789291de6e..01af5eab486 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableRowDiv.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableRowDiv.tsx@@ -7,29 +7,29 @@ const StyledTr = styled.div<{isFirstRowOfGroup?: boolean;isScrolledVertically?: boolean;}>`- --z-index-for-sticky-cells: ${({+ --z-index-for-normal-cells: ${({isFirstRowOfGroup,isScrolledVertically,}) =>isFirstRowOfGroup === true? isScrolledVertically- ? TABLE_Z_INDEX.activeRows.firstRow.sticky.scrolledVertically- : TABLE_Z_INDEX.activeRows.firstRow.sticky.noVerticalScroll+ ? TABLE_Z_INDEX.activeRows.firstRow.normal.scrolledVertically+ : TABLE_Z_INDEX.activeRows.firstRow.normal.noVerticalScroll: isScrolledVertically- ? TABLE_Z_INDEX.activeRows.afterFirstRow.sticky.scrolledVertically- : TABLE_Z_INDEX.activeRows.afterFirstRow.sticky.noVerticalScroll};+ ? TABLE_Z_INDEX.activeRows.afterFirstRow.normal.scrolledVertically+ : TABLE_Z_INDEX.activeRows.afterFirstRow.normal.noVerticalScroll};- --z-index-for-normal-cells: ${({+ --z-index-for-sticky-cells: ${({isFirstRowOfGroup,isScrolledVertically,}) =>isFirstRowOfGroup === true? isScrolledVertically- ? TABLE_Z_INDEX.activeRows.firstRow.normal.scrolledVertically- : TABLE_Z_INDEX.activeRows.firstRow.normal.noVerticalScroll+ ? TABLE_Z_INDEX.activeRows.firstRow.sticky.scrolledVertically+ : TABLE_Z_INDEX.activeRows.firstRow.sticky.noVerticalScroll: isScrolledVertically- ? TABLE_Z_INDEX.activeRows.afterFirstRow.normal.scrolledVertically- : TABLE_Z_INDEX.activeRows.afterFirstRow.normal.noVerticalScroll};+ ? TABLE_Z_INDEX.activeRows.afterFirstRow.sticky.scrolledVertically+ : TABLE_Z_INDEX.activeRows.afterFirstRow.sticky.noVerticalScroll};border-top: ${({ isDragging }) =>isDragging ? `1px solid ${themeCssVariables.border.color.medium}` : 'none'};@@ -42,9 +42,9 @@ const StyledTr = styled.div<{div.table-cell,div.table-cell-0-0 {&:not(:first-of-type) {+ background-color: ${themeCssVariables.background.tertiary};border-bottom: 1px solid ${themeCssVariables.border.color.medium};border-color: ${themeCssVariables.border.color.medium};- background-color: ${themeCssVariables.background.tertiary};}&:nth-of-type(2) {border-left: 1px solid ${themeCssVariables.border.color.medium};@@ -56,9 +56,9 @@ const StyledTr = styled.div<{}}&:last-of-type {- border-right: 1px solid ${themeCssVariables.border.color.medium};border-radius: 0 ${themeCssVariables.border.radius.sm}${themeCssVariables.border.radius.sm} 0;+ border-right: 1px solid ${themeCssVariables.border.color.medium};}}}diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableRowMultiDragCounterChip.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableRowMultiDragCounterChip.tsxindex c2690458077..fad9578d913 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableRowMultiDragCounterChip.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableRowMultiDragCounterChip.tsx@@ -4,9 +4,9 @@ import { styled } from '@linaria/react';import { NotificationCounter } from 'twenty-ui/navigation';const StyledNotificationCounterContainer = styled.div`+ left: -7px;position: absolute;top: -7px;- left: -7px;z-index: 1000;`;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsxindex 06ad870f197..4f6a1b72c7a 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsx@@ -53,13 +53,13 @@ const StyledChevronContainer = styled.div`border-right: none;color: ${themeCssVariables.font.color.secondary};display: flex;+ left: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;+ min-width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;+ position: sticky;text-align: center;+vertical-align: middle;width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;- min-width: ${RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px;-- position: sticky;- left: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;z-index: ${TABLE_Z_INDEX.groupSection.stickyCell};`;@@ -78,11 +78,11 @@ const StyledRecordGroupSection = styled.div<{ width: number }>`flex-direction: row;gap: ${themeCssVariables.spacing[1]};height: ${RECORD_TABLE_ROW_HEIGHT}px;- width: ${({ width }) => width}px;+ left: ${`${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH + RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px`};min-width: ${({ width }) => width}px;position: sticky;- left: ${`${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH + RECORD_TABLE_COLUMN_CHECKBOX_WIDTH}px`};+ width: ${({ width }) => width}px;z-index: ${TABLE_Z_INDEX.groupSection.stickyCell};`;@@ -100,16 +100,16 @@ const StyledFieldPlaceholderCell = styled.div<{ widthOfFields: number }>``;const StyledRecordTableDragAndDropPlaceholderCell = styled.div`+ background-color: ${themeCssVariables.background.primary};+ border-bottom: 1px solid ${themeCssVariables.background.primary};height: ${RECORD_TABLE_ROW_HEIGHT}px;- width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;- min-width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;- background-color: ${themeCssVariables.background.primary};+ left: 0;- border-bottom: 1px solid ${themeCssVariables.background.primary};+ min-width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;position: sticky;- left: 0;+ width: ${RECORD_TABLE_COLUMN_DRAG_AND_DROP_WIDTH}px;z-index: ${TABLE_Z_INDEX.groupSection.stickyCell};`;diff --git a/packages/twenty-front/src/modules/object-record/record-table/virtualization/components/RecordTableRowVirtualizedDebugRowHelper.tsx b/packages/twenty-front/src/modules/object-record/record-table/virtualization/components/RecordTableRowVirtualizedDebugRowHelper.tsxindex 55eac7a5985..f1af6a6fa61 100644--- a/packages/twenty-front/src/modules/object-record/record-table/virtualization/components/RecordTableRowVirtualizedDebugRowHelper.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/virtualization/components/RecordTableRowVirtualizedDebugRowHelper.tsx@@ -15,29 +15,29 @@ import { isDefined } from 'twenty-shared/utils';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledDebugRow = styled.div`- position: absolute;- left: 250px;- top: 5px;- z-index: 20;- color: ${themeCssVariables.font.color.primary};background-color: ${themeCssVariables.color.gray3};border: 1px solid ${themeCssVariables.color.blue8};- padding: ${themeCssVariables.spacing['0.5']};+ color: ${themeCssVariables.font.color.primary};display: flex;+ left: 250px;max-height: ${themeCssVariables.spacing[4]};-overflow: hidden;+ padding: ${themeCssVariables.spacing['0.5']};+ position: absolute;+ top: 5px;++ z-index: 20;`;const StyledDebugColumn = styled.div<{ width: number }>`- min-width: ${({ width }) => width}px;+ display: flex;max-width: ${({ width }) => width}px;- overflow: hidden;+ min-width: ${({ width }) => width}px;- display: flex;- text-wrap-mode: nowrap;- padding-right: ${themeCssVariables.spacing['0.5']};+ overflow: hidden;padding-left: ${themeCssVariables.spacing['0.5']};+ padding-right: ${themeCssVariables.spacing['0.5']};+ text-wrap-mode: nowrap;`;type RecordTableRowVirtualizedDebugRowHelperProps = {diff --git a/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleCellTextFieldDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleCellTextFieldDisplay.tsxindex 73c92b3df67..0bae542df15 100644--- a/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleCellTextFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleCellTextFieldDisplay.tsx@@ -11,18 +11,18 @@ import { OverflowingTextWithTooltip } from 'twenty-ui/display';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledDiv = styled.div`+ align-items: center;background: inherit;border: none;border-radius: ${themeCssVariables.border.radius.sm};+ box-sizing: border-box;color: ${themeCssVariables.font.color.primary};cursor: pointer;- overflow: hidden;- height: 24px;- padding: ${themeCssVariables.spacing[0]} 5px;- box-sizing: border-box;display: flex;- align-items: center;+ height: 24px;justify-content: center;+ overflow: hidden;+ padding: ${themeCssVariables.spacing[0]} 5px;:hover {background: ${themeCssVariables.background.transparent.light};}diff --git a/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleFullNameFieldDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleFullNameFieldDisplay.tsxindex 951b2bd1153..75c1762148e 100644--- a/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleFullNameFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleFullNameFieldDisplay.tsx@@ -12,18 +12,18 @@ import { OverflowingTextWithTooltip } from 'twenty-ui/display';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledDiv = styled.div`+ align-items: center;background: inherit;border: none;border-radius: ${themeCssVariables.border.radius.sm};+ box-sizing: border-box;color: ${themeCssVariables.font.color.primary};cursor: pointer;- overflow: hidden;- height: 24px;- padding: ${themeCssVariables.spacing[0]} 5px;- box-sizing: border-box;display: flex;- align-items: center;+ height: 24px;justify-content: center;+ overflow: hidden;+ padding: ${themeCssVariables.spacing[0]} 5px;:hover {background: ${themeCssVariables.background.transparent.light};}diff --git a/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsContainer.tsx b/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsContainer.tsxindex 74562a1eebd..1ef9fd39ce2 100644--- a/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsContainer.tsx@@ -13,16 +13,16 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledShowPageRightContainer = styled.div`display: flex;flex-direction: column;- justify-content: start;- width: 100%;height: 100%;+ justify-content: start;overflow: auto;+ width: 100%;`;const StyledContentContainer = styled.div`+ background: ${themeCssVariables.background.primary};flex: 1;overflow-y: auto;- background: ${themeCssVariables.background.primary};padding-bottom: ${themeCssVariables.spacing[16]};`;diff --git a/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsFooter.tsx b/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsFooter.tsxindex 2300e6c5375..457272e9a91 100644--- a/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsFooter.tsx+++ b/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsFooter.tsx@@ -21,8 +21,8 @@ const StyledFooterContainer = styled.div``;const StyledFooterActions = styled.div`- display: flex;align-items: flex-end;+ display: flex;gap: ${themeCssVariables.spacing[2]};`;diff --git a/packages/twenty-front/src/modules/onboarding/components/OnboardingModalCircularIcon.tsx b/packages/twenty-front/src/modules/onboarding/components/OnboardingModalCircularIcon.tsxindex 6bea820ce30..e57b8291470 100644--- a/packages/twenty-front/src/modules/onboarding/components/OnboardingModalCircularIcon.tsx+++ b/packages/twenty-front/src/modules/onboarding/components/OnboardingModalCircularIcon.tsx@@ -5,12 +5,12 @@ import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledCheckContainer = styled.div<{ color: string }>`align-items: center;- display: flex;- justify-content: center;border: 2px solid ${({ color }) => color};border-radius: ${themeCssVariables.border.radius.rounded};box-shadow: ${({ color }) => color && `-4px 4px 0 -2px ${color}`};+ display: flex;height: 36px;+ justify-content: center;width: 36px;`;diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutGridLayout.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutGridLayout.tsxindex 714a7a29987..c70f822ba9b 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutGridLayout.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutGridLayout.tsx@@ -57,10 +57,10 @@ const StyledGridContainer = styled.div`box-sizing: border-box;flex: 1;min-height: 100%;- position: relative;padding: ${themeCssVariables.spacing[2]};- width: 100%;+ position: relative;user-select: none;+ width: 100%;.react-grid-placeholder {background: ${themeCssVariables.color.blue7} !important;diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutGridOverlay.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutGridOverlay.tsxindex d49e5d63389..db9e35af7c5 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutGridOverlay.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutGridOverlay.tsx@@ -17,18 +17,18 @@ const StyledGridOverlay = styled.div<{isDragSelecting?: boolean;breakpoint: PageLayoutBreakpoint;}>`- position: absolute;- top: ${themeCssVariables.spacing[2]};- left: ${themeCssVariables.spacing[2]};- right: ${themeCssVariables.spacing[2]};bottom: ${themeCssVariables.spacing[2]};display: grid;+ gap: ${themeCssVariables.spacing[2]};+ grid-auto-rows: 55px;grid-template-columns: ${({ breakpoint }) =>breakpoint === 'mobile' ? '1fr' : 'repeat(12, 1fr)'};- grid-auto-rows: 55px;- gap: ${themeCssVariables.spacing[2]};+ left: ${themeCssVariables.spacing[2]};pointer-events: ${({ isDragSelecting }) =>isDragSelecting ? 'auto' : 'none'};+ position: absolute;+ right: ${themeCssVariables.spacing[2]};+ top: ${themeCssVariables.spacing[2]};z-index: ${PAGE_LAYOUT_GRID_OVERLAY_Z_INDEX};`;diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutGridResizeHandle.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutGridResizeHandle.tsxindex f4e40877eaf..f4b7d5f2ea5 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutGridResizeHandle.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutGridResizeHandle.tsx@@ -25,12 +25,12 @@ const StyledCornerIconWrapper = styled.div<{cursor: 'nwse-resize' | 'nesw-resize';position: 'ne' | 'nw' | 'se' | 'sw';}>`- display: flex;- justify-content: center;align-items: center;cursor: ${({ cursor }) => cursor};- width: ${themeCssVariables.spacing[4]};+ display: flex;height: ${themeCssVariables.spacing[4]};+ justify-content: center;+ width: ${themeCssVariables.spacing[4]};& svg {color: transparent;@@ -69,11 +69,11 @@ const StyledVerticalHandle = styled.div`const StyledVerticalHandleWrapper = styled.div<{widgetHandleAxis: WidgetVerticalHandleAxis;}>`- cursor: col-resize;border-radius: ${themeCssVariables.border.radius.sm};+ cursor: col-resize;+ padding: ${themeCssVariables.spacing[2]} ${themeCssVariables.spacing[2]};transform: ${({ widgetHandleAxis }) =>widgetHandleAxis === 'w' ? 'translateX(-50%)' : 'translateX(50%)'};- padding: ${themeCssVariables.spacing[2]} ${themeCssVariables.spacing[2]};:hover {& > div {@@ -85,15 +85,6 @@ const StyledVerticalHandleWrapper = styled.div<{const StyledResizeHandleWrapper = styled.div<{widgetHandleAxis?: WidgetHandleAxis;}>`- position: absolute;-- top: ${({ widgetHandleAxis }) => {- if (widgetHandleAxis === 'w' || widgetHandleAxis === 'e') return '50%';- if (widgetHandleAxis === 'n') return themeCssVariables.spacing[1.5];- if (widgetHandleAxis === 'ne' || widgetHandleAxis === 'nw') return '0';- return 'auto';- }};-bottom: ${({ widgetHandleAxis }) => {if (widgetHandleAxis === 's') return themeCssVariables.spacing[1.5];if (widgetHandleAxis === 'se' || widgetHandleAxis === 'sw') return '0';@@ -107,12 +98,21 @@ const StyledResizeHandleWrapper = styled.div<{return 'auto';}};+ position: absolute;+right: ${({ widgetHandleAxis }) => {if (widgetHandleAxis === 'e') return themeCssVariables.spacing[1.5];if (widgetHandleAxis === 'se' || widgetHandleAxis === 'ne') return '0';return 'auto';}};+ top: ${({ widgetHandleAxis }) => {+ if (widgetHandleAxis === 'w' || widgetHandleAxis === 'e') return '50%';+ if (widgetHandleAxis === 'n') return themeCssVariables.spacing[1.5];+ if (widgetHandleAxis === 'ne' || widgetHandleAxis === 'nw') return '0';+ return 'auto';+ }};+transform: ${({ widgetHandleAxis }) => {switch (widgetHandleAxis) {case 'w':diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutLeftPanel.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutLeftPanel.tsxindex dfd73f9543c..b3bf87fefa9 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutLeftPanel.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutLeftPanel.tsx@@ -18,8 +18,8 @@ const StyledContainer = styled.div`border-top-left-radius: 8px;box-sizing: border-box;display: grid;- grid-template-rows: auto 1fr;grid-template-columns: minmax(0, 1fr);+ grid-template-rows: auto 1fr;height: 100%;`;diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabList.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabList.tsxindex 9403b76ac55..f095c1aafb2 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabList.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabList.tsx@@ -74,8 +74,8 @@ const StyledDropdownContainer = styled.div``;const StyledAddButton = styled.div`- display: flex;align-items: center;+ display: flex;height: ${themeCssVariables.spacing[10]};margin-left: ${TAB_LIST_GAP}px;`;diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListReorderableOverflowDropdown.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListReorderableOverflowDropdown.tsxindex a43030dc84f..b386308bc20 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListReorderableOverflowDropdown.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListReorderableOverflowDropdown.tsx@@ -32,8 +32,8 @@ import { type PageLayoutType } from '~/generated-metadata/graphql';import { ThemeContext } from 'twenty-ui/theme-constants';const StyledOverflowDropdownListDraggableWrapper = styled.div`- display: flex;cursor: grab;+ display: flex;&:active {cursor: grabbing;diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListVisibleTabs.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListVisibleTabs.tsxindex 72652851156..4d4184cd4fd 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListVisibleTabs.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListVisibleTabs.tsx@@ -27,9 +27,9 @@ type PageLayoutTabListVisibleTabsProps = {const StyledTabContainer = styled.div`display: flex;- position: relative;- overflow: hidden;max-width: 100%;+ overflow: hidden;+ position: relative;> *:not(:last-child) {margin-right: ${TAB_LIST_GAP}px;diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabMenuItemSelectAvatar.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabMenuItemSelectAvatar.tsxindex e7c8078818f..eff6a12ae83 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabMenuItemSelectAvatar.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabMenuItemSelectAvatar.tsx@@ -13,18 +13,18 @@ import {} from 'twenty-ui/navigation';import { themeCssVariables, ThemeContext } from 'twenty-ui/theme-constants';const StyledTextContainer = styled.div`- display: flex;align-items: center;+ display: flex;flex: 1 0 0;gap: ${themeCssVariables.spacing[1]};max-width: 100%;- text-overflow: ellipsis;overflow: hidden;+ text-overflow: ellipsis;`;const StyledRightContent = styled.div`- display: flex;align-items: center;+ display: flex;gap: ${themeCssVariables.spacing[1]};`;diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabRenderClone.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabRenderClone.tsxindex 8d4ff67a0d2..ef1f7dbaac9 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabRenderClone.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabRenderClone.tsx@@ -12,8 +12,8 @@ import { MenuItemSelectAvatar } from 'twenty-ui/navigation';import { ThemeContext } from 'twenty-ui/theme-constants';import { useContext } from 'react';const StyledDraggableWrapper = styled.div`- display: flex;cursor: grab;+ display: flex;&:active {cursor: grabbing;diff --git a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetInlineCellContainer.tsx b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetInlineCellContainer.tsxindex 453c9f0bfa6..454f8673dd4 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetInlineCellContainer.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetInlineCellContainer.tsx@@ -15,14 +15,14 @@ const StyledValueContainer = styled.div<{ readonly: boolean }>``;const StyledInlineCellBaseContainer = styled.div<{ readonly: boolean }>`+ align-items: center;box-sizing: border-box;- width: 100%;+ cursor: ${({ readonly }) => (readonly ? 'default' : 'pointer')};display: flex;- height: fit-content;gap: ${themeCssVariables.spacing[1]};+ height: fit-content;user-select: none;- align-items: center;- cursor: ${({ readonly }) => (readonly ? 'default' : 'pointer')};+ width: 100%;`;export const FieldWidgetInlineCellContainer = () => {diff --git a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetMorphRelationField.tsx b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetMorphRelationField.tsxindex 5448250791d..c46b2122e1e 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetMorphRelationField.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetMorphRelationField.tsx@@ -14,8 +14,8 @@ const StyledContainer = styled.div`const StyledRelationChipsContainer = styled.div`display: flex;- gap: ${themeCssVariables.spacing[1]};flex-wrap: wrap;+ gap: ${themeCssVariables.spacing[1]};`;type FieldWidgetMorphRelationFieldProps = {diff --git a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetRelationField.tsx b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetRelationField.tsxindex 32bbe3c7e15..548e4ceebd0 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetRelationField.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetRelationField.tsx@@ -14,8 +14,8 @@ const StyledContainer = styled.div`const StyledRelationChipsContainer = styled.div`display: flex;- gap: ${themeCssVariables.spacing[1]};flex-wrap: wrap;+ gap: ${themeCssVariables.spacing[1]};`;type FieldWidgetRelationFieldProps = {diff --git a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetShowMoreButton.tsx b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetShowMoreButton.tsxindex b5578cdc69e..44d7ff94bca 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetShowMoreButton.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetShowMoreButton.tsx@@ -10,20 +10,20 @@ type FieldWidgetShowMoreButtonProps = {};const StyledButton = styled.button`- display: flex;- width: 100%;align-items: center;- gap: ${themeCssVariables.spacing[1]};- height: 24px;- box-sizing: border-box;- padding: 0;- border: none;background: transparent;+ border: none;+ box-sizing: border-box;color: ${themeCssVariables.font.color.tertiary};+ cursor: pointer;+ display: flex;font-family: ${themeCssVariables.font.family};font-weight: ${themeCssVariables.font.weight.regular};- cursor: pointer;+ gap: ${themeCssVariables.spacing[1]};+ height: 24px;+ padding: 0;transition: color ${themeCssVariables.animation.duration.instant}s ease;+ width: 100%;&:hover {color: ${themeCssVariables.font.color.primary};diff --git a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupRenameInput.tsx b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupRenameInput.tsxindex 543ae8f26da..984b97c13e5 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupRenameInput.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupRenameInput.tsx@@ -9,11 +9,11 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`align-items: center;+ box-sizing: border-box;display: flex;gap: ${themeCssVariables.spacing[1]};padding: ${themeCssVariables.spacing[1]};width: 100%;- box-sizing: border-box;`;type FieldsConfigurationGroupRenameInputProps = {diff --git a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidget.tsx b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidget.tsxindex 0eed5ab7f02..bb058ba5d20 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidget.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidget.tsx@@ -36,8 +36,8 @@ const StyledPropertyBox = styled.div`display: flex;flex-direction: column;gap: ${themeCssVariables.spacing[2]};- padding-top: ${themeCssVariables.spacing[3]};padding-bottom: ${themeCssVariables.spacing[3]};+ padding-top: ${themeCssVariables.spacing[3]};`;const StyledInlineFieldsPropertyBox = styled.div`@@ -46,8 +46,8 @@ const StyledInlineFieldsPropertyBox = styled.div`display: flex;flex-direction: column;gap: ${themeCssVariables.spacing[2]};- padding-top: 0;padding-bottom: 0;+ padding-top: 0;`;type FieldsWidgetProps = {diff --git a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidgetGroupContainer.tsx b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidgetGroupContainer.tsxindex f17bf8d6c38..402efa21e08 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidgetGroupContainer.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidgetGroupContainer.tsx@@ -19,11 +19,11 @@ const StyledTitleLabel = styled.div`const StyledChevronWrapper = styled.div<{ isExpanded: boolean }>`color: ${themeCssVariables.font.color.tertiary};+ display: flex;transform: ${({ isExpanded }) =>isExpanded ? 'rotate(180deg)' : 'rotate(0deg)'};transition: transformcalc(${themeCssVariables.animation.duration.normal} * 1s) ease;- display: flex;`;type FieldsWidgetGroupContainerProps = {diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegend.tsx b/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegend.tsxindex bc0b032d431..4749655458f 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegend.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegend.tsx@@ -49,24 +49,24 @@ const StyledLegendMotionWrapper = motion.create(StyledLegendMotionWrapperBase);const StyledItemsWrapperBase = styled.div<{ centered?: boolean }>`display: flex;- gap: ${themeCssVariables.spacing[3]};- flex-wrap: nowrap;flex: 1;- min-width: 0;+ flex-wrap: nowrap;+ gap: ${themeCssVariables.spacing[3]};justify-content: ${({ centered }) => (centered ? 'center' : 'flex-start')};+ min-width: 0;`;const StyledItemsWrapper = motion.create(StyledItemsWrapperBase);const StyledLegendContainer = styled.div<{ needsPagination: boolean }>`+ align-items: center;display: flex;flex-wrap: nowrap;gap: ${themeCssVariables.spacing[3]};justify-content: ${({ needsPagination }) =>needsPagination ? 'flex-start' : 'center'};- padding-top: ${themeCssVariables.spacing[3]};overflow: hidden;+ padding-top: ${themeCssVariables.spacing[3]};width: 100%;- align-items: center;`;const StyledLegendItem = styled.div<{@@ -77,10 +77,10 @@ const StyledLegendItem = styled.div<{align-items: center;cursor: ${({ isInteractive }) => (isInteractive ? 'pointer' : 'default')};display: flex;- gap: ${themeCssVariables.spacing[1]};+ flex-shrink: ${({ canShrink }) => (canShrink ? 1 : 0)};font-size: ${themeCssVariables.font.size.xs};font-weight: ${themeCssVariables.font.weight.semiBold};- flex-shrink: ${({ canShrink }) => (canShrink ? 1 : 0)};+ gap: ${themeCssVariables.spacing[1]};min-width: 0;`;@@ -89,12 +89,12 @@ const StyledLegendLabel = styled.div<{isHidden?: boolean;}>`color: ${themeCssVariables.font.color.secondary};- width: ${({ fixedWidth }) =>- fixedWidth ? `${LEGEND_LABEL_MAX_WIDTH}px` : 'auto'};- overflow: hidden;- text-decoration: ${({ isHidden }) => (isHidden ? 'line-through' : 'none')};opacity: ${({ isHidden }) =>isHidden ? LEGEND_HIGHLIGHT_DIMMED_OPACITY : 1};+ overflow: hidden;+ text-decoration: ${({ isHidden }) => (isHidden ? 'line-through' : 'none')};+ width: ${({ fixedWidth }) =>+ fixedWidth ? `${LEGEND_LABEL_MAX_WIDTH}px` : 'auto'};:hover {opacity: 1;diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegendDot.tsx b/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegendDot.tsxindex 31d7762de7e..f26af1facc7 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegendDot.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegendDot.tsx@@ -8,9 +8,9 @@ type GraphWidgetLegendDotProps = {const StyledDot = styled.div<{ color: string }>`background: ${({ color }) => color};border-radius: 2px;+ flex-shrink: 0;height: 8px;width: 8px;- flex-shrink: 0;`;export const GraphWidgetLegendDot = ({diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetTooltip.tsx b/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetTooltip.tsxindex 62d51862672..be773c6379b 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetTooltip.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetTooltip.tsx@@ -50,11 +50,11 @@ const StyledTooltipLink = styled.div`color: ${themeCssVariables.font.color.light};cursor: pointer;display: flex;- justify-content: space-between;- height: ${themeCssVariables.spacing[6]};font-weight: ${themeCssVariables.font.weight.regular};- padding-inline: ${themeCssVariables.spacing[2]};+ height: ${themeCssVariables.spacing[6]};+ justify-content: space-between;line-height: 140%;+ padding-inline: ${themeCssVariables.spacing[2]};`;const StyledTooltipSeparator = styled.div`@@ -75,12 +75,12 @@ const StyledTooltipHeader = styled.div`const StyledTooltipRowRightContent = styled.div`align-items: center;+ color: ${themeCssVariables.font.color.extraLight};display: flex;- justify-content: space-between;font-size: ${themeCssVariables.font.size.xs};- color: ${themeCssVariables.font.color.extraLight};font-weight: ${themeCssVariables.font.weight.regular};gap: ${themeCssVariables.spacing[2]};+ justify-content: space-between;min-width: 0;width: 100%;`;@@ -91,14 +91,14 @@ const StyledTooltipLabel = styled.span<{ isHighlighted?: boolean }>`? themeCssVariables.font.color.secondary: themeCssVariables.font.color.tertiary};flex: 1;- min-width: 0;- overflow: hidden;- text-overflow: ellipsis;- white-space: nowrap;font-weight: ${({ isHighlighted }) =>isHighlighted? themeCssVariables.font.weight.medium: themeCssVariables.font.weight.regular};+ min-width: 0;+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;`;const StyledNoDataMessage = styled.span`@@ -123,10 +123,10 @@ const StyledHorizontalSectionPadding = styled.div<{addTop?: boolean;addBottom?: boolean;}>`- padding-inline: ${themeCssVariables.spacing[1]};- margin-top: ${({ addTop }) => (addTop ? themeCssVariables.spacing[1] : 0)};margin-bottom: ${({ addBottom }) =>addBottom ? themeCssVariables.spacing[1] : 0};+ margin-top: ${({ addTop }) => (addTop ? themeCssVariables.spacing[1] : 0)};+ padding-inline: ${themeCssVariables.spacing[1]};`;export type GraphWidgetTooltipItem = {diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetAggregateChart/components/GraphWidgetAggregateChart.tsx b/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetAggregateChart/components/GraphWidgetAggregateChart.tsxindex fa9a3ce94ab..d6062355b2a 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetAggregateChart/components/GraphWidgetAggregateChart.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetAggregateChart/components/GraphWidgetAggregateChart.tsx@@ -32,8 +32,8 @@ const StyledContainer = styled.div``;const StyledTrendIconContainer = styled.div`- display: flex;align-items: center;+ display: flex;justify-content: center;`;diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetBarChart/components/BarChartBaseLayer.tsx b/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetBarChart/components/BarChartBaseLayer.tsxindex 5b4415a8ae7..ea33b1fb32a 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetBarChart/components/BarChartBaseLayer.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetBarChart/components/BarChartBaseLayer.tsx@@ -20,10 +20,10 @@ type BarChartBaseLayerProps = {const StyledBaseCanvas = styled.canvas`display: block;+ left: 0;pointer-events: none;position: absolute;top: 0;- left: 0;`;export const BarChartBaseLayer = ({diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetBarChart/components/BarChartHoverLayer.tsx b/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetBarChart/components/BarChartHoverLayer.tsxindex f085387d6c1..0e7d0e2c63c 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetBarChart/components/BarChartHoverLayer.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetBarChart/components/BarChartHoverLayer.tsx@@ -15,9 +15,9 @@ type BarChartHoverLayerProps = {const StyledHoverCanvas = styled.canvas`display: block;+ left: 0;position: absolute;top: 0;- left: 0;`;export const BarChartHoverLayer = ({diff --git a/packages/twenty-front/src/modules/page-layout/widgets/iframe/components/IframeWidget.tsx b/packages/twenty-front/src/modules/page-layout/widgets/iframe/components/IframeWidget.tsxindex bc815fb03f7..7b22afd3742 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/iframe/components/IframeWidget.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/iframe/components/IframeWidget.tsx@@ -9,45 +9,45 @@ import { isDefined } from 'twenty-shared/utils';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div<{ $isEditMode: boolean }>`- box-sizing: border-box;- border-radius: ${themeCssVariables.border.radius.md};background: ${themeCssVariables.background.primary};+ border-radius: ${themeCssVariables.border.radius.md};+ box-sizing: border-box;display: flex;flex-direction: column;height: 100%;overflow: hidden;+ pointer-events: ${({ $isEditMode }) => ($isEditMode ? 'none' : 'auto')};position: relative;width: 100%;- pointer-events: ${({ $isEditMode }) => ($isEditMode ? 'none' : 'auto')};`;const StyledIframe = styled.iframe<{ $isEditMode: boolean }>`border: none;flex: 1;height: 100%;- width: 100%;pointer-events: ${({ $isEditMode }) => ($isEditMode ? 'none' : 'auto')};+ width: 100%;`;const StyledLoadingContainer = styled.div`- position: absolute;- top: 0;- left: 0;- right: 0;+ background: ${themeCssVariables.background.primary};bottom: 0;- padding-top: ${themeCssVariables.spacing[2]};+ left: 0;padding-left: ${themeCssVariables.spacing[2]};- background: ${themeCssVariables.background.primary};+ padding-top: ${themeCssVariables.spacing[2]};pointer-events: none;+ position: absolute;+ right: 0;+ top: 0;z-index: 1;`;const StyledErrorContainer = styled.div`+ align-items: center;display: flex;flex-direction: column;- align-items: center;- justify-content: center;height: 100%;+ justify-content: center;padding: ${themeCssVariables.spacing[4]};text-align: center;`;diff --git a/packages/twenty-front/src/modules/page-layout/widgets/standalone-rich-text/components/DashboardsBlockEditor.tsx b/packages/twenty-front/src/modules/page-layout/widgets/standalone-rich-text/components/DashboardsBlockEditor.tsxindex e2d84d3cfc6..504d1df7fcd 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/standalone-rich-text/components/DashboardsBlockEditor.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/standalone-rich-text/components/DashboardsBlockEditor.tsx@@ -32,8 +32,8 @@ const StyledEditor = styled.div`& .editor {background: transparent;- font-size: 13px;color: ${themeCssVariables.font.color.primary};+ font-size: 13px;user-select: text;}& .editor [class^='_inlineContent']:before {@@ -44,32 +44,32 @@ const StyledEditor = styled.div`font-style: normal;}& .mantine-ActionIcon-icon {+ background: transparent;height: 20px;width: 20px;- background: transparent;}& .bn-container .bn-drag-handle {- width: 20px;height: 20px;+ width: 20px;}& .bn-block-outer {line-height: 1.4;}& .bn-block-content[data-content-type='checkListItem'] > div > div {- display: flex;align-items: center;+ display: flex;}& .bn-drag-handle-menu {- background: ${themeCssVariables.background.transparent.secondary};backdrop-filter: ${themeCssVariables.blur.medium};+ background: ${themeCssVariables.background.transparent.secondary};+ border: 1px solid ${themeCssVariables.border.color.medium};+ border-radius: 8px;box-shadow:0px 2px 4px rgba(0, 0, 0, 0.04),2px 4px 16px rgba(0, 0, 0, 0.12);- min-width: 160px;min-height: 96px;+ min-width: 160px;padding: 4px;- border-radius: 8px;- border: 1px solid ${themeCssVariables.border.color.medium};}& .bn-editor {@@ -85,30 +85,30 @@ const StyledEditor = styled.div`}& .bn-suggestion-menu {- padding: 4px;- border-radius: 8px;- border: 1px solid ${themeCssVariables.border.color.medium};- background: ${themeCssVariables.background.transparent.secondary};backdrop-filter: ${themeCssVariables.blur.medium};+ background: ${themeCssVariables.background.transparent.secondary};+ border: 1px solid ${themeCssVariables.border.color.medium};+ border-radius: 8px;+ padding: 4px;}& .mantine-Menu-item {background-color: transparent;- min-width: 152px;- min-height: 32px;+ color: ${themeCssVariables.font.color.secondary};+ font-family: ${themeCssVariables.font.family};font-style: normal;- font-family: ${themeCssVariables.font.family};font-weight: ${themeCssVariables.font.weight.regular};- color: ${themeCssVariables.font.color.secondary};+ min-height: 32px;+ min-width: 152px;}& .mantine-ActionIcon-root:hover {+ backdrop-filter: blur(20px);+ background: ${themeCssVariables.background.transparent.primary};+ border: 1px solid ${themeCssVariables.border.color.light};box-shadow:0px 0px 4px rgba(0, 0, 0, 0.08),0px 2px 4px rgba(0, 0, 0, 0.04);- background: ${themeCssVariables.background.transparent.primary};- backdrop-filter: blur(20px);- border: 1px solid ${themeCssVariables.border.color.light};}& .bn-side-menu .mantine-UnstyledButton-root:not(.mantine-Menu-item) svg {height: 16px;@@ -127,13 +127,13 @@ const StyledEditor = styled.div`}& .bn-inline-content code {- font-family: monospace;- color: ${themeCssVariables.font.color.danger};- padding: 2px 4px;- border-radius: 4px;+ background-color: ${themeCssVariables.background.transparent.light};border: 1px solid ${themeCssVariables.font.color.extraLight};+ border-radius: 4px;+ color: ${themeCssVariables.font.color.danger};+ font-family: monospace;font-size: 0.9rem;- background-color: ${themeCssVariables.background.transparent.light};+ padding: 2px 4px;}`;diff --git a/packages/twenty-front/src/modules/page-layout/widgets/standalone-rich-text/components/StandaloneRichTextWidget.tsx b/packages/twenty-front/src/modules/page-layout/widgets/standalone-rich-text/components/StandaloneRichTextWidget.tsxindex 729db0d54ad..5339695658a 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/standalone-rich-text/components/StandaloneRichTextWidget.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/standalone-rich-text/components/StandaloneRichTextWidget.tsx@@ -26,10 +26,10 @@ const StyledContainer = styled.div<{ isPageLayoutInEditMode?: boolean }>`display: flex;flex-direction: column;height: 100%;- width: 100%;overflow: hidden;padding-left: ${({ isPageLayoutInEditMode }) =>isPageLayoutInEditMode ? themeCssVariables.spacing[5] : 0};+ width: 100%;`;type StandaloneRichTextWidgetProps = {diff --git a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCard.tsx b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCard.tsxindex 4441a286fe5..fbd553dec89 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCard.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCard.tsx@@ -30,13 +30,6 @@ const computeBorderColor = (};const StyledWidgetCard = styled.div<WidgetCardStyledProps>`- box-sizing: border-box;- display: flex;- flex-direction: column;- position: relative;- height: 100%;- width: 100%;-background: ${(props) => {if (props.isEditable && props.isDragging) {return `linear-gradient(0deg, ${themeCssVariables.background.transparent.lighter} 0%, ${themeCssVariables.background.transparent.lighter} 100%), ${themeCssVariables.background.secondary}`;@@ -52,23 +45,47 @@ const StyledWidgetCard = styled.div<WidgetCardStyledProps>`}return 'none';}};-+ border-bottom: ${(props) => {+ const { variant, isEditable, isLastWidget } = props;+ if (variant === 'side-column' && !isEditable) {+ return isLastWidget !== true+ ? `1px solid ${themeCssVariables.border.color.light}`+ : 'none';+ }+ return `1px solid ${computeBorderColor(props)}`;+ }};+ border-color: ${(props) => computeBorderColor(props)};+ border-radius: ${({ variant, isEditable }) =>+ variant === 'dashboard' || variant === 'record-page' || isEditable+ ? themeCssVariables.border.radius.md+ : '0'};border-style: ${({ variant, isEditable }) =>variant === 'dashboard' || variant === 'record-page' || isEditable? 'solid': 'none'};-border-width: ${({ variant, isEditable }) =>variant === 'dashboard' || variant === 'record-page' || isEditable? '1px': '0'};- border-color: ${(props) => computeBorderColor(props)};+ box-sizing: border-box;- border-radius: ${({ variant, isEditable }) =>- variant === 'dashboard' || variant === 'record-page' || isEditable- ? themeCssVariables.border.radius.md- : '0'};+ cursor: ${({+ isEditable,+ isDragging,+ isEditing,+ isResizing,+ hasClickHandler,+ }) =>+ isEditable && !isDragging && !isEditing && !isResizing && hasClickHandler+ ? 'pointer'+ : 'default'};++ display: flex;++ flex-direction: column;++ height: 100%;padding: ${({ variant, isEditable, headerLess }) => {if (variant === 'dashboard' && headerLess === true) return '0';@@ -80,26 +97,9 @@ const StyledWidgetCard = styled.div<WidgetCardStyledProps>`return '0';}};- border-bottom: ${(props) => {- const { variant, isEditable, isLastWidget } = props;- if (variant === 'side-column' && !isEditable) {- return isLastWidget !== true- ? `1px solid ${themeCssVariables.border.color.light}`- : 'none';- }- return `1px solid ${computeBorderColor(props)}`;- }};+ position: relative;- cursor: ${({- isEditable,- isDragging,- isEditing,- isResizing,- hasClickHandler,- }) =>- isEditable && !isDragging && !isEditing && !isResizing && hasClickHandler- ? 'pointer'- : 'default'};+ width: 100%;&:hover {border-color: ${(props) => {diff --git a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardContent.tsx b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardContent.tsxindex e79cde2f31b..cd68776d5e4 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardContent.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardContent.tsx@@ -9,15 +9,25 @@ type WidgetCardContentStyledProps = {};const StyledWidgetCardContent = styled.div<WidgetCardContentStyledProps>`+ border: ${({ variant, isEditable }) =>+ variant === 'record-page' || (variant === 'side-column' && isEditable)+ ? `1px solid ${themeCssVariables.border.color.medium}`+ : 'none'};+ border-radius: ${({ variant, isEditable }) =>+ variant === 'record-page' || (variant === 'side-column' && isEditable)+ ? themeCssVariables.border.radius.md+ : '0'};box-sizing: border-box;display: grid;grid-template-columns: minmax(0, 1fr);+height: 100%;- overflow: hidden;margin-top: ${({ hasHeader }) =>hasHeader ? themeCssVariables.spacing[2] : '0'};+ overflow: hidden;+padding: ${({ variant, isEditable }) => {if (variant === 'dashboard') return themeCssVariables.spacing[2];if (@@ -29,16 +39,6 @@ const StyledWidgetCardContent = styled.div<WidgetCardContentStyledProps>`return '0';}};- border: ${({ variant, isEditable }) =>- variant === 'record-page' || (variant === 'side-column' && isEditable)- ? `1px solid ${themeCssVariables.border.color.medium}`- : 'none'};-- border-radius: ${({ variant, isEditable }) =>- variant === 'record-page' || (variant === 'side-column' && isEditable)- ? themeCssVariables.border.radius.md- : '0'};-&:empty {margin-top: ${({ hasHeader, variant, isEditable }) => {if (hasHeader && variant === 'side-column' && !isEditable) return '0';diff --git a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeader.tsx b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeader.tsxindex 5a0f1739aa7..ffe5fb3c6c3 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeader.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeader.tsx@@ -31,8 +31,8 @@ export type WidgetCardHeaderProps = {const StyledWidgetCardHeader = styled.div`align-items: center;display: flex;- height: ${themeCssVariables.spacing[6]};flex-shrink: 0;+ height: ${themeCssVariables.spacing[6]};`;const StyledTitleContainer = styled.div<{ variant: WidgetCardVariant }>`@@ -40,28 +40,28 @@ const StyledTitleContainer = styled.div<{ variant: WidgetCardVariant }>`flex: 1;font-size: ${themeCssVariables.font.size.md};font-weight: ${themeCssVariables.font.weight.medium};- user-select: none;overflow: hidden;-padding-inline: ${({ variant }) =>variant === 'side-column' ? '0' : themeCssVariables.spacing[1]};++ user-select: none;`;const StyledRightContainer = styled.div`- display: flex;align-items: center;+ display: flex;gap: ${themeCssVariables.spacing[0.5]};`;const StyledActionsContainer = styled.div`- display: flex;align-items: center;+ display: flex;gap: ${themeCssVariables.spacing[1]};`;const StyledIconButtonContainerBase = styled.div`- display: flex;align-items: center;+ display: flex;justify-content: center;`;const StyledIconButtonContainer = motion.create(StyledIconButtonContainerBase);diff --git a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetGrip.tsx b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetGrip.tsxindex e240e411387..db47ad1355a 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetGrip.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetGrip.tsx@@ -5,19 +5,19 @@ import { themeCssVariables, ThemeContext } from 'twenty-ui/theme-constants';import { useContext } from 'react';const StyledGripContainerBase = styled.div`- width: 20px;- height: 20px;- display: flex;align-items: center;- justify-content: center;- cursor: grab;- user-select: none;border-radius: ${themeCssVariables.border.radius.sm};box-sizing: border-box;+ cursor: grab;+ display: flex;+ height: 20px;+ justify-content: center;+ user-select: none;+ width: 20px;&:active {- cursor: grabbing;background: ${themeCssVariables.background.tertiary};+ cursor: grabbing;}&:hover {diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRadioSettingsCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRadioSettingsCard.tsxindex fc3a3f9aace..3ce9ee79786 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRadioSettingsCard.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRadioSettingsCard.tsx@@ -43,9 +43,9 @@ const StyledDescription = styled.div``;const StyledRadioContainer = styled.span`- margin-left: auto;- display: flex;align-items: center;+ display: flex;+ margin-left: auto;`;const StyledExpandedContent = styled.div`diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsToggleSettingCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsToggleSettingCard.tsxindex 306c3784fcb..2e609f7fe3e 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsToggleSettingCard.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsToggleSettingCard.tsx@@ -17,9 +17,9 @@ type SettingsAccountsToggleSettingCardProps = {const StyledCardContentContainer = styled.div`> * {align-items: center;+ cursor: pointer;display: flex;gap: ${themeCssVariables.spacing[4]};- cursor: pointer;&:hover {background: ${themeCssVariables.background.transparent.lighter};@@ -39,9 +39,9 @@ const StyledDescription = styled.div``;const StyledToggleContainer = styled.span`- margin-left: auto;- display: flex;align-items: center;+ display: flex;+ margin-left: auto;`;export const SettingsAccountsToggleSettingCard = ({diff --git a/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/SettingsAdminConfigVariablesRow.tsx b/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/SettingsAdminConfigVariablesRow.tsxindex bd6081ef753..10efaf630da 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/SettingsAdminConfigVariablesRow.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/SettingsAdminConfigVariablesRow.tsx@@ -21,9 +21,9 @@ const StyledTableRowContainer = styled.div``;const StyledEllipsisLabel = styled.div`- white-space: nowrap;- text-overflow: ellipsis;overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;`;export const SettingsAdminConfigVariablesRow = ({diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJsonDataIndicatorHealthStatus.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJsonDataIndicatorHealthStatus.tsxindex 1b24e8d2535..7531d54a88f 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJsonDataIndicatorHealthStatus.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJsonDataIndicatorHealthStatus.tsx@@ -10,17 +10,17 @@ import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';const StyledDetailsContainer = styled.div`background-color: ${themeCssVariables.background.secondary};- padding: ${themeCssVariables.spacing[4]};- border-radius: ${themeCssVariables.border.radius.md};border: 1px solid ${themeCssVariables.border.color.medium};+ border-radius: ${themeCssVariables.border.radius.md};font-size: ${themeCssVariables.font.size.sm};overflow-x: auto;+ padding: ${themeCssVariables.spacing[4]};`;const StyledErrorMessage = styled.div`color: ${themeCssVariables.color.red};- margin-top: ${themeCssVariables.spacing[2]};margin-bottom: ${themeCssVariables.spacing[4]};+ margin-top: ${themeCssVariables.spacing[2]};`;export const SettingsAdminJsonDataIndicatorHealthStatus = () => {diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerMetricsGraph.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerMetricsGraph.tsxindex 36712ed9709..ec57dafe6e0 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerMetricsGraph.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerMetricsGraph.tsx@@ -14,9 +14,9 @@ import {const StyledGraphContainer = styled.div`background-color: ${themeCssVariables.background.secondary};+ border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.md};height: 240px;- border: 1px solid ${themeCssVariables.border.color.medium};margin-bottom: ${themeCssVariables.spacing[4]};padding-top: 10px;width: 100%;diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerMetricsTooltip.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerMetricsTooltip.tsxindex 19b4cfc1f30..d0bc69aae47 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerMetricsTooltip.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerMetricsTooltip.tsx@@ -32,10 +32,10 @@ const StyledTooltipColorCircle = styled.div<{ color: string }>`const StyledTooltipDataRow = styled.div`align-items: center;- display: flex;- justify-content: space-between;color: ${themeCssVariables.font.color.tertiary};+ display: flex;gap: ${themeCssVariables.spacing[2]};+ justify-content: space-between;width: 100%;`;diff --git a/packages/twenty-front/src/modules/settings/components/AdvancedSettingsContentWrapperWithDot.tsx b/packages/twenty-front/src/modules/settings/components/AdvancedSettingsContentWrapperWithDot.tsxindex b804c521eb9..c7f4a55256a 100644--- a/packages/twenty-front/src/modules/settings/components/AdvancedSettingsContentWrapperWithDot.tsx+++ b/packages/twenty-front/src/modules/settings/components/AdvancedSettingsContentWrapperWithDot.tsx@@ -16,20 +16,20 @@ type AdvancedSettingsContentWrapperWithDotProps = {};const StyledDotContainer = styled.div<{ dotPosition: DotPosition }>`+ align-items: ${({ dotPosition }) =>+ dotPosition === 'top' ? 'stretch' : 'center'};display: flex;- position: absolute;height: 100%;left: calc(-1 * ${themeCssVariables.spacing[5]});+ position: absolute;top: ${({ dotPosition }) => (dotPosition === 'top' ? '0' : 'auto')};- align-items: ${({ dotPosition }) =>- dotPosition === 'top' ? 'stretch' : 'center'};`;const StyledIconPointContainer = styled.span`- margin-right: 0;- display: flex;align-items: center;+ display: flex;+ margin-right: 0;`;export const AdvancedSettingsContentWrapperWithDot = ({diff --git a/packages/twenty-front/src/modules/settings/components/SettingsCounter.tsx b/packages/twenty-front/src/modules/settings/components/SettingsCounter.tsxindex bfa44671c3e..5383ff74b18 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsCounter.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsCounter.tsx@@ -29,10 +29,10 @@ const StyledTextInputContainer = styled.div`width: ${themeCssVariables.spacing[16]};> * input {- width: ${themeCssVariables.spacing[16]};+ font-weight: ${themeCssVariables.font.weight.medium};height: ${themeCssVariables.spacing[6]};text-align: center;- font-weight: ${themeCssVariables.font.weight.medium};+ width: ${themeCssVariables.spacing[16]};}`;diff --git a/packages/twenty-front/src/modules/settings/components/SettingsDatabaseEventsForm.tsx b/packages/twenty-front/src/modules/settings/components/SettingsDatabaseEventsForm.tsxindex 0e36c4f3ef5..1d46bf43850 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsDatabaseEventsForm.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsDatabaseEventsForm.tsx@@ -14,14 +14,14 @@ const OBJECT_MOBILE_WIDTH = 150;const ACTION_MOBILE_WIDTH = 140;const StyledFilterRow = styled.div<{ isMobile: boolean }>`+ align-items: center;display: grid;+ gap: ${themeCssVariables.spacing[2]};grid-template-columns: ${({ isMobile }) =>isMobile? `${OBJECT_MOBILE_WIDTH}px ${ACTION_MOBILE_WIDTH}px auto`: `${OBJECT_DROPDOWN_WIDTH}px ${ACTION_DROPDOWN_WIDTH}px auto`};- gap: ${themeCssVariables.spacing[2]};margin-bottom: ${themeCssVariables.spacing[2]};- align-items: center;`;const StyledPlaceholder = styled.div`diff --git a/packages/twenty-front/src/modules/settings/components/SettingsDnsRecordsTable.tsx b/packages/twenty-front/src/modules/settings/components/SettingsDnsRecordsTable.tsxindex a1dbf5216de..5ba3ae853b1 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsDnsRecordsTable.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsDnsRecordsTable.tsx@@ -30,8 +30,8 @@ type SettingsDnsRecordsTableProps = {const StyledTableRowContainer = styled.div`> * > * {- min-width: 0;max-width: 100%;+ min-width: 0;overflow: hidden;}`;diff --git a/packages/twenty-front/src/modules/settings/components/SettingsItemTypeTag.tsx b/packages/twenty-front/src/modules/settings/components/SettingsItemTypeTag.tsxindex 935c2141bf6..ab020b93a73 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsItemTypeTag.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsItemTypeTag.tsx@@ -17,10 +17,10 @@ type SettingsItemTypeTagProps = {const StyledContainer = styled.div`align-items: center;+ color: ${themeCssVariables.font.color.secondary};display: flex;font-size: ${themeCssVariables.font.size.sm};gap: ${themeCssVariables.spacing[1]};- color: ${themeCssVariables.font.color.secondary};`;export const SettingsItemTypeTag = ({diff --git a/packages/twenty-front/src/modules/settings/components/SettingsListCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsListCard.tsxindex ecd692c8bcb..8325af95966 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsListCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsListCard.tsx@@ -22,13 +22,13 @@ const StyledButton = styled.button`border: none;border-radius: ${themeCssVariables.border.radius.sm};color: ${themeCssVariables.font.color.secondary};- gap: ${themeCssVariables.spacing[2]};- padding: 0 ${themeCssVariables.spacing[1]};- padding-left: ${themeCssVariables.spacing[2]};cursor: pointer;display: flex;flex: 1 0 0;+ gap: ${themeCssVariables.spacing[2]};height: ${themeCssVariables.spacing[8]};+ padding: 0 ${themeCssVariables.spacing[1]};+ padding-left: ${themeCssVariables.spacing[2]};width: 100%;&:hover {diff --git a/packages/twenty-front/src/modules/settings/components/SettingsListItemCardContent.tsx b/packages/twenty-front/src/modules/settings/components/SettingsListItemCardContent.tsxindex 948d41f0e92..c7ece981915 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsListItemCardContent.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsListItemCardContent.tsx@@ -13,9 +13,9 @@ const StyledRowContainer = styled.div`font-size: ${themeCssVariables.font.size.sm};font-weight: ${themeCssVariables.font.weight.medium};gap: ${themeCssVariables.spacing[2]};+ min-height: ${themeCssVariables.spacing[6]};padding: ${themeCssVariables.spacing[2]};padding-left: ${themeCssVariables.spacing[3]};- min-height: ${themeCssVariables.spacing[6]};}`;@@ -26,8 +26,8 @@ const StyledRightContainer = styled.div``;const StyledContent = styled.div`- flex: 1 1 0;display: flex;+ flex: 1 1 0;gap: ${themeCssVariables.spacing[1]};min-width: 0;overflow: hidden;diff --git a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsCardContentBase.tsx b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsCardContentBase.tsxindex cc33dc74437..210464c3afe 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsCardContentBase.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsCardContentBase.tsx@@ -9,22 +9,22 @@ type StyledCardContentProps = {export const StyledSettingsCardContent = styled.div<StyledCardContentProps>`align-items: ${({ alignItems }) => alignItems ?? 'center'};+ background-color: ${themeCssVariables.background.secondary};display: flex;gap: ${themeCssVariables.spacing[3]};- background-color: ${themeCssVariables.background.secondary};height: ${({ fullHeight }) => (fullHeight ? '100%' : 'auto')};padding: ${themeCssVariables.spacing[4]};`;export const StyledSettingsCardIcon = styled.div`align-items: center;+ background-color: ${themeCssVariables.background.primary};border: 2px solid ${themeCssVariables.border.color.light};border-radius: ${themeCssVariables.border.radius.sm};- background-color: ${themeCssVariables.background.primary};display: flex;height: ${themeCssVariables.spacing[7]};justify-content: center;- width: ${themeCssVariables.spacing[7]};min-width: ${themeCssVariables.icon.size.md};+ width: ${themeCssVariables.spacing[7]};`;export const StyledSettingsCardTitle = styled.div`@@ -41,13 +41,13 @@ export const StyledSettingsCardTextContainer = styled.div`export const StyledSettingsCardDescription = styled.div`color: ${themeCssVariables.font.color.secondary};font-size: ${themeCssVariables.font.size.sm};- overflow: hidden;line-height: 1.5;+ overflow: hidden;a {+ pointer-events: auto;position: relative;z-index: 1;- pointer-events: auto;}`;diff --git a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentToggle.tsx b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentToggle.tsxindex 795be2e3a08..2c1fe297ddc 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentToggle.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentToggle.tsx@@ -17,13 +17,13 @@ import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledSettingsCardToggleContent = styled.div<{ disabled?: boolean }>`align-items: center;+ background-color: ${themeCssVariables.background.secondary};+ cursor: ${({ disabled }) => (disabled ? 'default' : 'pointer')};display: flex;gap: ${themeCssVariables.spacing[3]};- background-color: ${themeCssVariables.background.secondary};padding: ${themeCssVariables.spacing[4]};- cursor: ${({ disabled }) => (disabled ? 'default' : 'pointer')};- position: relative;pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};+ position: relative;&:hover {background: ${themeCssVariables.background.transparent.lighter};diff --git a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionIconCustomizer.tsx b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionIconCustomizer.tsxindex 6a84c2f23f9..9a28858c607 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionIconCustomizer.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionIconCustomizer.tsx@@ -10,8 +10,8 @@ type SettingsOptionIconCustomizerProps = {};const StyledIconCustomizer = styled.div<{ zoom: number; rotate: number }>`- display: inline-flex;align-items: center;+ display: inline-flex;justify-content: center;transform: scale(${({ zoom }) => zoom}) rotate(${({ rotate }) => rotate}deg);`;diff --git a/packages/twenty-front/src/modules/settings/components/SettingsPageContainer.tsx b/packages/twenty-front/src/modules/settings/components/SettingsPageContainer.tsxindex 56f1ad4c03e..a210d251364 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsPageContainer.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsPageContainer.tsx@@ -19,6 +19,7 @@ const StyledSettingsPageContainer = styled.div<{overflow: auto;padding: ${themeCssVariables.spacing[6]} ${themeCssVariables.spacing[8]}${themeCssVariables.spacing[8]};+ padding-bottom: ${themeCssVariables.spacing[20]};width: ${({ width, isMobile }) => {if (isDefined(width)) {return width + 'px';@@ -28,7 +29,6 @@ const StyledSettingsPageContainer = styled.div<{}return OBJECT_SETTINGS_WIDTH + 'px';}};- padding-bottom: ${themeCssVariables.spacing[20]};`;export const SettingsPageContainer = ({diff --git a/packages/twenty-front/src/modules/settings/components/SettingsRadioCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsRadioCard.tsxindex deccf22129a..68f8944ee47 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsRadioCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsRadioCard.tsx@@ -7,14 +7,14 @@ import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledRadioCardContentContainer = styled.div`> * {- display: flex;align-items: center;- padding: ${themeCssVariables.spacing[2]};border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.sm};+ cursor: pointer;+ display: flex;flex-grow: 1;gap: ${themeCssVariables.spacing[2]};- cursor: pointer;+ padding: ${themeCssVariables.spacing[2]};&:hover {background: ${themeCssVariables.background.transparent.lighter};diff --git a/packages/twenty-front/src/modules/settings/components/SettingsSummaryCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsSummaryCard.tsxindex e1fce173fe1..2a37b249e75 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsSummaryCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsSummaryCard.tsx@@ -13,8 +13,8 @@ const StyledCardContentContainer = styled.div`align-items: center;display: flex;gap: ${themeCssVariables.spacing[2]};- padding: ${themeCssVariables.spacing[2]};min-height: ${themeCssVariables.spacing[6]};+ padding: ${themeCssVariables.spacing[2]};}`;diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIconLabelForm.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIconLabelForm.tsxindex 06ec88fbeee..74d2b514460 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIconLabelForm.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIconLabelForm.tsx@@ -56,10 +56,10 @@ const StyledInputsContainer = styled.div`const StyledAdvancedSettingsSectionInputWrapper = styled.div`display: flex;+ flex: 1;flex-direction: column;gap: ${themeCssVariables.spacing[4]};width: 100%;- flex: 1;`;const StyledAdvancedSettingsOuterContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsObjectNewFieldSelector.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsObjectNewFieldSelector.tsxindex a6073125b86..bf91ea43a45 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsObjectNewFieldSelector.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsObjectNewFieldSelector.tsx@@ -43,9 +43,9 @@ const StyledTypeSelectContainer = styled.div`const StyledContainer = styled.div`display: flex;+ flex-wrap: wrap;gap: ${themeCssVariables.spacing[2]};justify-content: flex-start;- flex-wrap: wrap;width: 100%;`;diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/morph-relation/components/SettingsDataModelFieldRelationPreviewContent.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/morph-relation/components/SettingsDataModelFieldRelationPreviewContent.tsxindex 476dc78b207..f71fe98a41d 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/morph-relation/components/SettingsDataModelFieldRelationPreviewContent.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/morph-relation/components/SettingsDataModelFieldRelationPreviewContent.tsx@@ -3,8 +3,8 @@ import { type ReactNode } from 'react';const StyledPreviewContent = styled.div<{ isMobile: boolean }>`display: flex;- gap: 6px;flex-direction: ${({ isMobile }) => (isMobile ? 'column' : 'row')};+ gap: 6px;`;export const SettingsDataModelFieldRelationPreviewContent = ({diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/morph-relation/components/SettingsDataModelFieldRelationPreviewImageCard.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/morph-relation/components/SettingsDataModelFieldRelationPreviewImageCard.tsxindex 1554d0d04d2..27defd5500f 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/morph-relation/components/SettingsDataModelFieldRelationPreviewImageCard.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/morph-relation/components/SettingsDataModelFieldRelationPreviewImageCard.tsx@@ -4,6 +4,7 @@ const StyledRelationImage = styled.img<{flip?: boolean;isMobile: boolean;}>`+ margin: auto;transform: ${({ flip, isMobile }) => {let transform = '';if (isMobile) {@@ -14,7 +15,6 @@ const StyledRelationImage = styled.img<{}return transform.trim();}};- margin: auto;width: 54px;`;diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectForm.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectForm.tsxindex a7c1a77d4ad..2c654d3051f 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectForm.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectForm.tsx@@ -81,12 +81,12 @@ const StyledOptionsLabel = styled.div<{font-size: ${themeCssVariables.font.size.xs};font-weight: ${themeCssVariables.font.weight.semiBold};margin-bottom: ${themeCssVariables.spacing['1.5']};- margin-top: ${themeCssVariables.spacing[1]};- width: 100%;margin-left: ${({ isAdvancedModeEnabled, isBulkInputMode }) =>isAdvancedModeEnabled && !isBulkInputMode? themeCssVariables.spacing[10]: themeCssVariables.spacing[0]};+ margin-top: ${themeCssVariables.spacing[1]};+ width: 100%;`;const StyledApiKeyContainer = styled.div`@@ -101,9 +101,9 @@ const StyledApiKey = styled.span`font-weight: ${themeCssVariables.font.weight.semiBold};margin-bottom: ${themeCssVariables.spacing['1.5']};margin-top: ${themeCssVariables.spacing[1]};- width: 100%;-white-space: nowrap;++ width: 100%;`;const StyledLabelContainer = styled.div`@@ -122,9 +122,9 @@ const StyledIconContainer = styled.div``;const StyledIconPointContainer = styled.span`- margin-right: ${themeCssVariables.spacing['0.5']};- display: flex;align-items: center;+ display: flex;+ margin-right: ${themeCssVariables.spacing['0.5']};`;const StyledFooterContainer = styled.div`@@ -142,8 +142,8 @@ const StyledButtonContainer = styled.div``;const StyledOptionsHeaderContainer = styled.div`- display: flex;align-items: center;+ display: flex;justify-content: space-between;margin-bottom: ${themeCssVariables.spacing['1.5']};margin-top: ${themeCssVariables.spacing[1]};@@ -157,8 +157,8 @@ const StyledTextAreaContainer = styled.div`const StyledHelpText = styled.div`color: ${themeCssVariables.font.color.light};font-size: ${themeCssVariables.font.size.xs};- margin-top: ${themeCssVariables.spacing[1]};margin-bottom: ${themeCssVariables.spacing[2]};+ margin-top: ${themeCssVariables.spacing[1]};`;export const SettingsDataModelFieldSelectForm = ({diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectFormOptionRow.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectFormOptionRow.tsxindex e63be1ea938..977543bcfa1 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectFormOptionRow.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectFormOptionRow.tsx@@ -76,13 +76,13 @@ const StyledRow = styled.div``;const StyledColorSampleContainer = styled.span`+ align-items: center;cursor: pointer;- margin-top: ${themeCssVariables.spacing[1]};+ display: flex;margin-bottom: ${themeCssVariables.spacing[1]};- margin-right: 14px;margin-left: 14px;- display: flex;- align-items: center;+ margin-right: 14px;+ margin-top: ${themeCssVariables.spacing[1]};`;const StyledOptionInputContainer = styled.div`@@ -95,15 +95,15 @@ const StyledOptionInputContainer = styled.div``;const StyledIconGripVerticalContainer = styled.span`- margin-right: 3px;- display: flex;align-items: center;+ display: flex;+ margin-right: 3px;`;const StyledLightIconButtonContainer = styled.span`- margin-left: ${themeCssVariables.spacing[2]};- display: flex;align-items: center;+ display: flex;+ margin-left: ${themeCssVariables.spacing[2]};`;export const SettingsDataModelFieldSelectFormOptionRow = ({diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelFieldPreview.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelFieldPreview.tsxindex 995fbcf9f7d..374c49247a1 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelFieldPreview.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelFieldPreview.tsx@@ -35,14 +35,14 @@ const StyledFieldPreview = styled.div<{ shrink?: boolean }>`gap: ${themeCssVariables.spacing[2]};height: fit-content;line-height: 24px;+ margin-top: ${themeCssVariables.spacing[2]};overflow: hidden;padding: 0${({ shrink }) =>shrink ? themeCssVariables.spacing[1] : themeCssVariables.spacing[2]};- white-space: nowrap;- margin-top: ${themeCssVariables.spacing[2]};- padding-top: ${themeCssVariables.spacing[2]};padding-bottom: ${themeCssVariables.spacing[2]};+ padding-top: ${themeCssVariables.spacing[2]};+ white-space: nowrap;`;const StyledFieldLabel = styled.div`diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelRelationFieldPreview.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelRelationFieldPreview.tsxindex 44d52ff6ae0..4d275b558eb 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelRelationFieldPreview.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelRelationFieldPreview.tsx@@ -34,14 +34,14 @@ const StyledFieldPreview = styled.div<{ shrink?: boolean }>`gap: ${themeCssVariables.spacing[2]};height: fit-content;line-height: 24px;+ margin-top: ${themeCssVariables.spacing[2]};overflow: hidden;padding: 0${({ shrink }) =>shrink ? themeCssVariables.spacing[1] : themeCssVariables.spacing[2]};- white-space: nowrap;- margin-top: ${themeCssVariables.spacing[2]};- padding-top: ${themeCssVariables.spacing[2]};padding-bottom: ${themeCssVariables.spacing[2]};+ padding-top: ${themeCssVariables.spacing[2]};+ white-space: nowrap;`;const StyledFieldLabel = styled.div`diff --git a/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverview.tsx b/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverview.tsxindex a294e465526..b65bb3f7926 100644--- a/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverview.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverview.tsx@@ -63,9 +63,9 @@ const StyledContainer = styled.div``;const StyledCloseButton = styled.div`+ left: ${themeCssVariables.spacing[3]};position: absolute;top: ${themeCssVariables.spacing[3]};- left: ${themeCssVariables.spacing[3]};z-index: 5;`;diff --git a/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverviewField.tsx b/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverviewField.tsxindex 751433db46a..c758e1de6b5 100644--- a/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverviewField.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverviewField.tsx@@ -17,9 +17,9 @@ const StyledRow = styled.div`align-items: center;display: flex;gap: ${themeCssVariables.spacing[2]};+ padding: 0 ${themeCssVariables.spacing[2]};position: relative;width: 100%;- padding: 0 ${themeCssVariables.spacing[2]};`;const StyledFieldName = styled.div`diff --git a/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverviewFieldWithoutRelation.tsx b/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverviewFieldWithoutRelation.tsxindex 9405a36d3ae..c733a71dfa2 100644--- a/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverviewFieldWithoutRelation.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverviewFieldWithoutRelation.tsx@@ -14,9 +14,9 @@ const StyledRow = styled.div`align-items: center;display: flex;gap: ${themeCssVariables.spacing[2]};+ padding: 0 ${themeCssVariables.spacing[2]};position: relative;width: 100%;- padding: 0 ${themeCssVariables.spacing[2]};`;const StyledFieldName = styled.div`diff --git a/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverviewObject.tsx b/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverviewObject.tsxindex 14a3899e7aa..4f2b9522dad 100644--- a/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverviewObject.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverviewObject.tsx@@ -23,14 +23,14 @@ type SettingsDataModelOverviewObjectProps =const StyledNode = styled.div`background-color: ${themeCssVariables.background.secondary};+ border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.md};+ box-shadow: ${themeCssVariables.boxShadow.light};display: flex;flex-direction: column;- width: 220px;- padding: ${themeCssVariables.spacing[2]};gap: ${themeCssVariables.spacing[2]};- border: 1px solid ${themeCssVariables.border.color.medium};- box-shadow: ${themeCssVariables.boxShadow.light};+ padding: ${themeCssVariables.spacing[2]};+ width: 220px;`;const StyledHeader = styled.div`@@ -50,30 +50,30 @@ const StyledObjectName = styled.div``;const StyledInnerCard = styled.div`- border: 1px solid ${themeCssVariables.border.color.light};background-color: ${themeCssVariables.background.primary};+ border: 1px solid ${themeCssVariables.border.color.light};border-radius: ${themeCssVariables.border.radius.sm};- padding: ${themeCssVariables.spacing[2]} 0 ${themeCssVariables.spacing[2]} 0;+ color: ${themeCssVariables.font.color.tertiary};display: flex;flex-flow: column nowrap;gap: ${themeCssVariables.spacing['0.5']};- color: ${themeCssVariables.font.color.tertiary};+ padding: ${themeCssVariables.spacing[2]} 0 ${themeCssVariables.spacing[2]} 0;`;const StyledCardRow = styled.div`align-items: center;display: flex;- height: 24px;gap: ${themeCssVariables.spacing[1]};+ height: 24px;`;const StyledCardRowOther = styled.div`align-items: center;cursor: pointer;display: flex;+ gap: ${themeCssVariables.spacing[2]};height: 24px;padding: 0 ${themeCssVariables.spacing[2]};- gap: ${themeCssVariables.spacing[2]};&:hover {background-color: ${themeCssVariables.background.tertiary};@@ -89,10 +89,10 @@ const StyledObjectInstanceCount = styled.div`const StyledObjectLinkContainer = styled.div`> a {align-items: center;+ color: ${themeCssVariables.font.color.primary};display: flex;gap: ${themeCssVariables.spacing[1]};text-decoration: none;- color: ${themeCssVariables.font.color.primary};&:hover {color: ${themeCssVariables.font.color.secondary};diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectFieldItemTableRow.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectFieldItemTableRow.tsxindex 084817ca512..991110f7da6 100644--- a/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectFieldItemTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectFieldItemTableRow.tsx@@ -40,27 +40,27 @@ export const OBJECT_FIELD_TABLE_ROW_GRID_TEMPLATE_COLUMNS ='minmax(0, 1fr) 148px 148px 36px';const StyledNameContainer = styled.div`- display: flex;align-items: center;+ display: flex;flex: 1;- min-width: 0;gap: ${themeCssVariables.spacing[1]};+ min-width: 0;`;const StyledNameLabel = styled.div`- white-space: nowrap;- text-overflow: ellipsis;overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;`;const StyledInactiveLabel = styled.span`color: ${themeCssVariables.font.color.extraLight};- font-size: ${themeCssVariables.font.size.sm};- white-space: nowrap;- text-overflow: ellipsis;- overflow: hidden;flex: 0 999 auto;+ font-size: ${themeCssVariables.font.size.sm};min-width: 48px;+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;&::before {content: '·';diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectItemTableRow.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectItemTableRow.tsxindex 0194399ab58..4ef0c43aa4d 100644--- a/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectItemTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectItemTableRow.tsx@@ -24,27 +24,27 @@ export type SettingsObjectMetadataItemTableRowProps = {};const StyledNameContainer = styled.div`- display: flex;align-items: center;+ display: flex;flex: 1;- min-width: 0;gap: ${themeCssVariables.spacing[1]};+ min-width: 0;`;const StyledNameLabel = styled.div`- white-space: nowrap;- text-overflow: ellipsis;overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;`;const StyledInactiveLabel = styled.span`color: ${themeCssVariables.font.color.extraLight};- font-size: ${themeCssVariables.font.size.sm};- white-space: nowrap;- text-overflow: ellipsis;- overflow: hidden;flex: 0 999 auto;+ font-size: ${themeCssVariables.font.size.sm};min-width: 48px;+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;&::before {content: '·';diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectRelationItemTableRow.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectRelationItemTableRow.tsxindex f9947635e76..f99661492bd 100644--- a/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectRelationItemTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectRelationItemTableRow.tsx@@ -29,27 +29,27 @@ export const OBJECT_RELATION_TABLE_ROW_GRID_TEMPLATE_COLUMNS ='minmax(0, 1fr) 148px 148px 36px';const StyledNameContainer = styled.div`- display: flex;align-items: center;+ display: flex;flex: 1;- min-width: 0;gap: ${themeCssVariables.spacing[1]};+ min-width: 0;`;const StyledNameLabel = styled.div`- white-space: nowrap;- text-overflow: ellipsis;overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;`;const StyledInactiveLabel = styled.span`color: ${themeCssVariables.font.color.extraLight};- font-size: ${themeCssVariables.font.size.sm};- white-space: nowrap;- text-overflow: ellipsis;- overflow: hidden;flex: 0 999 auto;+ font-size: ${themeCssVariables.font.size.sm};min-width: 48px;+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;&::before {content: '·';@@ -77,11 +77,11 @@ const StyledLinkContainer = styled.div`> a {color: ${themeCssVariables.font.color.primary};+ overflow: hidden;text-decoration: underline;text-decoration-color: ${themeCssVariables.border.color.strong};- text-underline-offset: 2px;- overflow: hidden;text-overflow: ellipsis;+ text-underline-offset: 2px;white-space: nowrap;&:hover {diff --git a/packages/twenty-front/src/modules/settings/data-model/objects/components/SettingsObjectCoverImage.tsx b/packages/twenty-front/src/modules/settings/data-model/objects/components/SettingsObjectCoverImage.tsxindex bde1c5d821d..a6c2fbf6a1f 100644--- a/packages/twenty-front/src/modules/settings/data-model/objects/components/SettingsObjectCoverImage.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/objects/components/SettingsObjectCoverImage.tsx@@ -17,10 +17,10 @@ const StyledCoverImageContainer = styled.div`border-radius: ${themeCssVariables.border.radius.md};box-sizing: border-box;display: flex;- min-height: 153px;justify-content: center;- position: relative;margin-bottom: ${themeCssVariables.spacing[8]};+ min-height: 153px;+ position: relative;`;const StyledButtonContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectAboutForm.tsx b/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectAboutForm.tsxindex b60e31a4785..a09ffde20c1 100644--- a/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectAboutForm.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectAboutForm.tsx@@ -48,10 +48,10 @@ const StyledInputContainer = styled.div`const StyledAdvancedSettingsSectionInputWrapper = styled.div`display: flex;+ flex: 1;flex-direction: column;gap: ${themeCssVariables.spacing[4]};width: 100%;- flex: 1;`;const StyledAdvancedSettingsOuterContainer = styled.div`@@ -86,8 +86,8 @@ const StyledConflictBanner = styled.div`const StyledBannerContent = styled.div`align-items: center;display: flex;- gap: ${themeCssVariables.spacing[2]};flex: 1;+ gap: ${themeCssVariables.spacing[2]};`;const StyledBannerText = styled.span`diff --git a/packages/twenty-front/src/modules/settings/developers/components/SettingsApiKeysFieldItemTableRow.tsx b/packages/twenty-front/src/modules/settings/developers/components/SettingsApiKeysFieldItemTableRow.tsxindex 41d580404da..3db8d2adfe2 100644--- a/packages/twenty-front/src/modules/settings/developers/components/SettingsApiKeysFieldItemTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/developers/components/SettingsApiKeysFieldItemTableRow.tsx@@ -11,9 +11,9 @@ import { ThemeContext } from 'twenty-ui/theme-constants';import { type ApiKey } from '~/generated-metadata/graphql';const StyledEllipsisLabel = styled.div`- white-space: nowrap;- text-overflow: ellipsis;overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;`;type ApiKeyType = Pick<ApiKey, 'id' | 'name' | 'expiresAt' | 'revokedAt'> & {diff --git a/packages/twenty-front/src/modules/settings/lab/components/SettingsLabContent.tsx b/packages/twenty-front/src/modules/settings/lab/components/SettingsLabContent.tsxindex 5ed465309fe..99f837e7f66 100644--- a/packages/twenty-front/src/modules/settings/lab/components/SettingsLabContent.tsx+++ b/packages/twenty-front/src/modules/settings/lab/components/SettingsLabContent.tsx@@ -16,10 +16,10 @@ const StyledCardGrid = styled.div`const StyledImage = styled.img`border-bottom: 1px solid ${themeCssVariables.border.color.medium};+ display: flex;height: 120px;- width: 100%;object-fit: cover;- display: flex;+ width: 100%;`;export const SettingsLabContent = () => {diff --git a/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionLabelContainer.tsx b/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionLabelContainer.tsxindex e4324c51151..a606c1cad06 100644--- a/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionLabelContainer.tsx+++ b/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionLabelContainer.tsx@@ -5,10 +5,10 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledHeaderTitle = styled.div`color: ${themeCssVariables.font.color.primary};- font-weight: ${themeCssVariables.font.weight.semiBold};font-size: ${themeCssVariables.font.size.lg};- width: fit-content;+ font-weight: ${themeCssVariables.font.weight.semiBold};max-width: 420px;+ width: fit-content;& > input:disabled {color: ${themeCssVariables.font.color.primary};}diff --git a/packages/twenty-front/src/modules/settings/playground/components/PlaygroundSetupForm.tsx b/packages/twenty-front/src/modules/settings/playground/components/PlaygroundSetupForm.tsxindex 68a69018611..5dfb2bfcf24 100644--- a/packages/twenty-front/src/modules/settings/playground/components/PlaygroundSetupForm.tsx+++ b/packages/twenty-front/src/modules/settings/playground/components/PlaygroundSetupForm.tsx@@ -27,10 +27,10 @@ const playgroundSetupFormSchema = z.object({type PlaygroundSetupFormValues = z.infer<typeof playgroundSetupFormSchema>;const StyledForm = styled.form`- display: grid;- grid-template-columns: 1.5fr 1fr 1fr 0.5fr;align-items: end;+ display: grid;gap: ${themeCssVariables.spacing[2]};+ grid-template-columns: 1.5fr 1fr 1fr 0.5fr;margin-bottom: ${themeCssVariables.spacing[2]};width: 100%;`;diff --git a/packages/twenty-front/src/modules/settings/playground/components/RestPlayground.tsx b/packages/twenty-front/src/modules/settings/playground/components/RestPlayground.tsxindex 47c1828cd44..d79c34b4b9f 100644--- a/packages/twenty-front/src/modules/settings/playground/components/RestPlayground.tsx+++ b/packages/twenty-front/src/modules/settings/playground/components/RestPlayground.tsx@@ -30,8 +30,8 @@ const StyledContainer = styled.div`.scalar-app .text-pretty {overflow-wrap: break-word;- word-break: normal;white-space: normal;+ word-break: normal;}`;diff --git a/packages/twenty-front/src/modules/settings/playground/components/SettingsPlaygroundCoverImage.tsx b/packages/twenty-front/src/modules/settings/playground/components/SettingsPlaygroundCoverImage.tsxindex 45b7b6d2dc0..02cf751420c 100644--- a/packages/twenty-front/src/modules/settings/playground/components/SettingsPlaygroundCoverImage.tsx+++ b/packages/twenty-front/src/modules/settings/playground/components/SettingsPlaygroundCoverImage.tsx@@ -13,9 +13,9 @@ const StyledCoverContainer = styled.div`display: flex;height: 153px;justify-content: center;- position: relative;- margin-top: ${themeCssVariables.spacing[4]};margin-bottom: ${themeCssVariables.spacing[4]};+ margin-top: ${themeCssVariables.spacing[4]};+ position: relative;`;type StyledSettingsApiPlaygroundCoverImageProps = {diff --git a/packages/twenty-front/src/modules/settings/profile/components/EmailField.tsx b/packages/twenty-front/src/modules/settings/profile/components/EmailField.tsxindex b8343d09c66..b1a7869b569 100644--- a/packages/twenty-front/src/modules/settings/profile/components/EmailField.tsx+++ b/packages/twenty-front/src/modules/settings/profile/components/EmailField.tsx@@ -17,14 +17,14 @@ const StyledContainer = styled.div``;const StyledFieldRow = styled.div`- display: flex;align-items: stretch;+ display: flex;gap: ${themeCssVariables.spacing[2]};`;const StyledActionWrapper = styled.div`- display: flex;align-items: stretch;+ display: flex;& > button + button {border-left: none;@@ -32,9 +32,9 @@ const StyledActionWrapper = styled.div``;const StyledActionButtonContainer = styled.div`- height: 100%;- display: inline-flex;align-items: center;+ display: inline-flex;+ height: 100%;justify-content: center;`;diff --git a/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesList.tsx b/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesList.tsxindex 87f8364a1cd..f92221acf75 100644--- a/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesList.tsx+++ b/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesList.tsx@@ -32,8 +32,8 @@ const StyledCreateRoleSectionContainer = styled.div`border-top: 1px solid ${themeCssVariables.border.color.light};display: flex;justify-content: flex-end;- padding-top: ${themeCssVariables.spacing[2]};padding-bottom: ${themeCssVariables.spacing[2]};+ padding-top: ${themeCssVariables.spacing[2]};}`;diff --git a/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentEntityPickerDropdown.tsx b/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentEntityPickerDropdown.tsxindex d8b19377e7d..df91db4a7ce 100644--- a/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentEntityPickerDropdown.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentEntityPickerDropdown.tsx@@ -21,8 +21,8 @@ const StyledLoadingContainer = styled.div``;const StyledDropdownItem = styled.div`- padding: ${themeCssVariables.spacing[2]};cursor: pointer;+ padding: ${themeCssVariables.spacing[2]};&:hover {background-color: ${themeCssVariables.background.transparent.lighter};diff --git a/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentTableRow.tsx b/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentTableRow.tsxindex 15caefc5c67..9beb51af6fc 100644--- a/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentTableRow.tsx@@ -33,8 +33,8 @@ const StyledNameCell = styled.div`const StyledNameContainer = styled.div`align-items: center;display: flex;- overflow: hidden;gap: ${themeCssVariables.spacing[2]};+ overflow: hidden;width: 100%;`;diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelObjectPicker.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelObjectPicker.tsxindex b545d4d0857..b963efd4a33 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelObjectPicker.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelObjectPicker.tsx@@ -22,9 +22,9 @@ const StyledTypeSelectContainer = styled.div`const StyledContainer = styled.div`display: flex;+ flex-wrap: wrap;gap: ${themeCssVariables.spacing[2]};justify-content: flex-start;- flex-wrap: wrap;width: 100%;`;diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelSection.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelSection.tsxindex 436eaac690b..c7dc179f942 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelSection.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelSection.tsx@@ -23,8 +23,8 @@ const StyledCreateObjectOverrideSectionContainer = styled.div`border-top: 1px solid ${themeCssVariables.border.color.light};display: flex;justify-content: flex-end;- padding-top: ${themeCssVariables.spacing[2]};padding-bottom: ${themeCssVariables.spacing[2]};+ padding-top: ${themeCssVariables.spacing[2]};}`;diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelTableRow.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelTableRow.tsxindex b05d3079dff..f85729fac97 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelTableRow.tsx@@ -14,9 +14,9 @@ import { useContext } from 'react';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledNameLabel = styled.div`- white-space: nowrap;- text-overflow: ellipsis;overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;`;type SettingsRolePermissionsObjectLevelTableRowProps = {diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTableRow.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTableRow.tsxindex c021d1b3e26..2bd52a2e8d9 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTableRow.tsx@@ -24,11 +24,11 @@ export const FIELD_PERMISSION_TABLE_ROW_GRID_TEMPLATE_COLUMNS ='180px minmax(0, 1fr) 60px 60px';const StyledNameLabel = styled.div`- white-space: nowrap;- text-overflow: ellipsis;overflow: hidden;-+ text-overflow: ellipsis;user-select: none;++ white-space: nowrap;`;type SettingsRolePermissionsObjectLevelObjectFieldPermissionTableRowProps = {diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionFilterRow.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionFilterRow.tsxindex 66a883de199..0a6f544f614 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionFilterRow.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionFilterRow.tsx@@ -14,9 +14,9 @@ import { SettingsRolePermissionsObjectLevelRecordLevelPermissionValueInput } froimport { themeCssVariables } from 'twenty-ui/theme-constants';const StyledFilterRow = styled.div`+ align-items: center;display: flex;flex-direction: row;- align-items: center;gap: ${themeCssVariables.spacing[2]};`;diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionLogicalOperatorCell.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionLogicalOperatorCell.tsxindex 2bb95a714d5..ad949f7404d 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionLogicalOperatorCell.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionLogicalOperatorCell.tsx@@ -24,9 +24,9 @@ const StyledText = styled.div`const StyledContainer = styled.div`align-items: start;+ color: ${themeCssVariables.font.color.tertiary};display: flex;min-width: ${themeCssVariables.spacing[16]};- color: ${themeCssVariables.font.color.tertiary};`;type SettingsRolePermissionsObjectLevelRecordLevelPermissionLogicalOperatorCellProps =diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionValueInput.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionValueInput.tsxindex 3bbe76d5b57..1cc1892df7f 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionValueInput.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionValueInput.tsx@@ -37,16 +37,16 @@ const StyledContainer = styled.div`const StyledIconContainer = styled.div`align-items: center;- display: flex;- justify-content: center;background-color: ${themeCssVariables.background.transparent.lighter};- border-top-right-radius: ${themeCssVariables.border.radius.sm};- border-bottom-right-radius: ${themeCssVariables.border.radius.sm};border: 1px solid ${themeCssVariables.border.color.medium};+ border-bottom-right-radius: ${themeCssVariables.border.radius.sm};border-left: none;+ border-top-right-radius: ${themeCssVariables.border.radius.sm};+ color: ${themeCssVariables.font.color.tertiary};cursor: pointer;+ display: flex;+ justify-content: center;padding: ${themeCssVariables.spacing[2]};- color: ${themeCssVariables.font.color.tertiary};&:hover {background-color: ${themeCssVariables.background.transparent.light};@@ -54,20 +54,20 @@ const StyledIconContainer = styled.div``;const StyledReadOnlyInput = styled.div`- display: flex;align-items: center;- flex: 1;- padding: ${themeCssVariables.spacing[2]};+ background-color: ${themeCssVariables.background.secondary};border: 1px solid ${themeCssVariables.border.color.medium};- border-top-left-radius: ${themeCssVariables.border.radius.sm};border-bottom-left-radius: ${themeCssVariables.border.radius.sm};- background-color: ${themeCssVariables.background.secondary};+ border-top-left-radius: ${themeCssVariables.border.radius.sm};+ box-sizing: border-box;color: ${themeCssVariables.font.color.primary};+ display: flex;+ flex: 1;font-size: ${themeCssVariables.font.size.md};- height: 32px;- box-sizing: border-box;gap: ${themeCssVariables.spacing[1]};+ height: 32px;overflow: hidden;+ padding: ${themeCssVariables.spacing[2]};`;const StyledMeText = styled.span`@@ -76,10 +76,10 @@ const StyledMeText = styled.span``;const StyledFieldLabel = styled.span`- white-space: nowrap;+ min-width: 0;overflow: hidden;text-overflow: ellipsis;- min-width: 0;+ white-space: nowrap;`;const StyledFormFieldInputWrapper = styled.div`diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionVariablePicker.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionVariablePicker.tsxindex 24060e2203c..a9abda66616 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionVariablePicker.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionVariablePicker.tsx@@ -14,15 +14,13 @@ const StyledRecordLevelPermissionPickerContainer = styled.div<{readonly?: boolean;}>`align-items: center;- display: flex;- justify-content: center;-background-color: ${({ multiline }) =>multiline? 'transparent': themeCssVariables.background.transparent.lighter};border: ${({ multiline }) =>multiline ? 'none' : `1px solid ${themeCssVariables.border.color.medium}`};+border-bottom-right-radius: ${({ multiline }) =>multiline ? '0' : themeCssVariables.border.radius.sm};border-radius: ${({ multiline }) =>@@ -34,6 +32,8 @@ const StyledRecordLevelPermissionPickerContainer = styled.div<{? themeCssVariables.font.color.primary: themeCssVariables.font.color.tertiary};cursor: ${({ multiline }) => (multiline ? 'default' : 'pointer')};+ display: flex;+ justify-content: center;padding: ${({ multiline }) =>multiline? `${themeCssVariables.spacing['0.5']} ${themeCssVariables.spacing[0]}`diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/PermissionIcon.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/PermissionIcon.tsxindex 07a9f4d2fef..2d72307b829 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/PermissionIcon.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/PermissionIcon.tsx@@ -31,9 +31,9 @@ const StyledIconWrapper = styled.div<{ isRevoked?: boolean }>`const StyledIcon = styled.div<{ isRevoked?: boolean }>`align-items: center;- display: flex;color: ${({ isRevoked }) =>isRevoked ? themeCssVariables.color.orange : themeCssVariables.color.blue};+ display: flex;justify-content: center;`;diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsTableRow.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsTableRow.tsxindex dd190928748..5228a82b2a3 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsTableRow.tsx@@ -19,8 +19,8 @@ const StyledDescription = styled.span``;const StyledIconContainer = styled.div`- display: flex;align-items: center;+ display: flex;justify-content: center;`;diff --git a/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleApplicability.tsx b/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleApplicability.tsxindex a2078f3f802..ac117fd602a 100644--- a/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleApplicability.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleApplicability.tsx@@ -10,14 +10,14 @@ import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { FeatureFlagKey } from '~/generated-metadata/graphql';const StyledCheckboxContainer = styled.div<{ disabled: boolean }>`- display: flex;align-items: center;+ border-radius: ${themeCssVariables.border.radius.sm};+ cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};+ display: flex;justify-content: space-between;padding: ${themeCssVariables.spacing[1]};- border-radius: ${themeCssVariables.border.radius.sm};transition: background-colorcalc(${themeCssVariables.animation.duration.normal} * 1s) ease;- cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};&:hover {background-color: ${themeCssVariables.background.transparent.light};@@ -25,8 +25,8 @@ const StyledCheckboxContainer = styled.div<{ disabled: boolean }>``;const StyledCheckboxLabel = styled.div`- display: flex;align-items: center;+ display: flex;gap: ${themeCssVariables.spacing[1]};`;diff --git a/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleSettings.tsx b/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleSettings.tsxindex 51eef8928b0..0c74c8fe62a 100644--- a/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleSettings.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleSettings.tsx@@ -19,8 +19,8 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledInputsContainer = styled.div`display: flex;gap: ${themeCssVariables.spacing[2]};- width: 100%;margin-bottom: ${themeCssVariables.spacing[2]};+ width: 100%;`;const StyledInputContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/roles/role/components/SettingsRoleLabelContainer.tsx b/packages/twenty-front/src/modules/settings/roles/role/components/SettingsRoleLabelContainer.tsxindex 6ca3295c6ae..5f2317aec7e 100644--- a/packages/twenty-front/src/modules/settings/roles/role/components/SettingsRoleLabelContainer.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role/components/SettingsRoleLabelContainer.tsx@@ -8,10 +8,10 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledHeaderTitle = styled.div`color: ${themeCssVariables.font.color.primary};- font-weight: ${themeCssVariables.font.weight.semiBold};font-size: ${themeCssVariables.font.size.lg};- width: fit-content;+ font-weight: ${themeCssVariables.font.weight.semiBold};max-width: 420px;+ width: fit-content;& > input:disabled {color: ${themeCssVariables.font.color.primary};}diff --git a/packages/twenty-front/src/modules/settings/security/components/SSO/SettingsSSOIdentitiesProvidersForm.tsx b/packages/twenty-front/src/modules/settings/security/components/SSO/SettingsSSOIdentitiesProvidersForm.tsxindex 2f66fab3567..f43fde66b6d 100644--- a/packages/twenty-front/src/modules/settings/security/components/SSO/SettingsSSOIdentitiesProvidersForm.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/SSO/SettingsSSOIdentitiesProvidersForm.tsx@@ -18,8 +18,8 @@ import { IdentityProviderType } from '~/generated-metadata/graphql';const StyledInputsContainer = styled.div`display: grid;gap: ${themeCssVariables.spacing[2]} ${themeCssVariables.spacing[4]};- grid-template-columns: 1fr 1fr;grid-template-areas: 'input-1 input-1';+ grid-template-columns: 1fr 1fr;& :first-of-type {grid-area: input-1;diff --git a/packages/twenty-front/src/modules/settings/two-factor-authentication/components/TwoFactorAuthenticationVerificationCodeDash.tsx b/packages/twenty-front/src/modules/settings/two-factor-authentication/components/TwoFactorAuthenticationVerificationCodeDash.tsxindex dc6aa115dd5..1904c9cd917 100644--- a/packages/twenty-front/src/modules/settings/two-factor-authentication/components/TwoFactorAuthenticationVerificationCodeDash.tsx+++ b/packages/twenty-front/src/modules/settings/two-factor-authentication/components/TwoFactorAuthenticationVerificationCodeDash.tsx@@ -2,10 +2,10 @@ import { styled } from '@linaria/react';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledDashContainer = styled.div`+ align-items: center;display: flex;- width: ${themeCssVariables.spacing[2]};justify-content: center;- align-items: center;+ width: ${themeCssVariables.spacing[2]};`;const StyledDash = styled.div`diff --git a/packages/twenty-front/src/modules/settings/two-factor-authentication/components/TwoFactorAuthenticationVerificationCodeSlot.tsx b/packages/twenty-front/src/modules/settings/two-factor-authentication/components/TwoFactorAuthenticationVerificationCodeSlot.tsxindex a6576e87963..b4ef4c5bbee 100644--- a/packages/twenty-front/src/modules/settings/two-factor-authentication/components/TwoFactorAuthenticationVerificationCodeSlot.tsx+++ b/packages/twenty-front/src/modules/settings/two-factor-authentication/components/TwoFactorAuthenticationVerificationCodeSlot.tsx@@ -3,32 +3,32 @@ import { type SlotProps } from 'input-otp';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledSlot = styled.div<{ isActive: boolean }>`- position: relative;- width: 24px;- height: 32px;- font-size: ${themeCssVariables.font.size.md};- display: flex;align-items: center;- justify-content: center;- transition: all 0.3s;background-color: ${themeCssVariables.background.transparent.lighter};border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.sm};+ display: flex;+ font-size: ${themeCssVariables.font.size.md};+ height: 32px;+ justify-content: center;+ outline: 0;+ outline-color: ${({ isActive }) =>+ isActive+ ? themeCssVariables.border.color.strong+ : themeCssVariables.border.color.medium};+ outline-color: ${themeCssVariables.border.color.medium};.group:hover &,.group:focus-within & {border-color: ${themeCssVariables.border.color.medium};}- outline: 0;- outline-color: ${themeCssVariables.border.color.medium};-- outline-color: ${({ isActive }) =>- isActive- ? themeCssVariables.border.color.strong- : themeCssVariables.border.color.medium};outline-style: ${({ isActive }) => (isActive ? 'solid' : 'none')};outline-width: ${({ isActive }) => (isActive ? '1px' : '0')};++ position: relative;+ transition: all 0.3s;+ width: 24px;`;const StyledCaretContainer = styled.div`@@ -60,9 +60,9 @@ const StyledInputChar = styled.div``;const StyledCaret = styled.div`- width: 1px;- height: 20px;background-color: ${themeCssVariables.font.color.primary};+ height: 20px;+ width: 1px;`;type TwoFactorAuthenticationVerificationCodeSlotProps = SlotProps;diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelContainer.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelContainer.tsxindex bbcc47545e4..578a325f15e 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelContainer.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelContainer.tsx@@ -13,14 +13,14 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { themeCssVariables } from 'twenty-ui/theme-constants';const StyledSidePanelContainer = styled.div<{ isMobile: boolean }>`+ display: flex;+ flex: 1;+ flex-direction: column;max-height: ${({ isMobile }) => {const mobileOffset = isMobile ? themeCssVariables.spacing[16] : '0px';return `calc(100% - ${mobileOffset})`;}};- display: flex;- flex-direction: column;- flex: 1;`;type SidePanelContainerProps = {diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelContextChip.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelContextChip.tsxindex d5c7c25cd72..897975e453c 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelContextChip.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelContextChip.tsx@@ -12,26 +12,24 @@ const StyledChip = styled.button<{maxWidth?: string;onClick?: () => void;}>`- all: unset;align-items: center;- justify-content: center;+ all: unset;background: ${themeCssVariables.background.transparent.light};border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.md};box-sizing: border-box;+ color: ${themeCssVariables.font.color.primary};+ cursor: ${({ onClick }) => (isDefined(onClick) ? 'pointer' : 'default')};display: flex;- gap: ${themeCssVariables.spacing[1]};- height: ${themeCssVariables.spacing[6]};- /* If the chip has text, we add extra padding to have a more balanced design */- padding: 0- ${({ withText }) =>- withText ? themeCssVariables.spacing[2] : themeCssVariables.spacing[1]};font-family: inherit;+ /* If the chip has text, we add extra padding to have a more balanced design */font-size: ${themeCssVariables.font.size.sm};font-weight: ${themeCssVariables.font.weight.medium};+ gap: ${themeCssVariables.spacing[1]};+ height: ${themeCssVariables.spacing[6]};+ justify-content: center;line-height: ${themeCssVariables.text.lineHeight.lg};- color: ${themeCssVariables.font.color.primary};- cursor: ${({ onClick }) => (isDefined(onClick) ? 'pointer' : 'default')};+ max-width: ${({ maxWidth }) => maxWidth ?? ''};&:hover {background: ${({ onClick }) =>@@ -39,7 +37,9 @@ const StyledChip = styled.button<{? themeCssVariables.background.transparent.medium: themeCssVariables.background.transparent.light};}- max-width: ${({ maxWidth }) => maxWidth ?? ''};+ padding: 0+ ${({ withText }) =>+ withText ? themeCssVariables.spacing[2] : themeCssVariables.spacing[1]};`;const StyledIconsContainer = styled.div`diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelContextRecordChipAvatars.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelContextRecordChipAvatars.tsxindex c37430d62bb..60d314c7046 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelContextRecordChipAvatars.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelContextRecordChipAvatars.tsx@@ -7,9 +7,9 @@ import { useContext } from 'react';import { Avatar } from 'twenty-ui/display';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledIconWrapper = styled.div<{ withIconBackground?: boolean }>`+ align-items: center;background: ${({ withIconBackground }) =>withIconBackground ? themeCssVariables.background.primary : 'unset'};- border-radius: ${themeCssVariables.border.radius.sm};border: 1px solid${({ withIconBackground }) =>withIconBackground@@ -18,8 +18,8 @@ const StyledIconWrapper = styled.div<{ withIconBackground?: boolean }>`&:not(:first-of-type) {margin-left: -${themeCssVariables.spacing[1]};}+ border-radius: ${themeCssVariables.border.radius.sm};display: flex;- align-items: center;justify-content: center;`;diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelForDesktop.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelForDesktop.tsxindex 5082ec355ff..9573ecce14f 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelForDesktop.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelForDesktop.tsx@@ -26,24 +26,24 @@ const StyledSidePanelWrapper = styled.div<{flex-shrink: 0;min-width: 0;overflow: hidden;- width: ${({ isOpen }) => (isOpen ? `var(${SIDE_PANEL_WIDTH_VAR})` : '0px')};transition: ${({ isResizing }) =>isResizing? 'none': `width ${themeCssVariables.animation.duration.normal}s`};+ width: ${({ isOpen }) => (isOpen ? `var(${SIDE_PANEL_WIDTH_VAR})` : '0px')};`;const StyledSidePanel = styled.aside`background: ${themeCssVariables.background.primary};border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.md};+ box-sizing: border-box;display: flex;flex-direction: column;height: 100%;overflow: hidden;position: relative;width: 100%;- box-sizing: border-box;`;const StyledModalContainer = styled.div`diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelPageInfoLayout.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelPageInfoLayout.tsxindex 03fb8b5f83e..2567e5b1c9a 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelPageInfoLayout.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelPageInfoLayout.tsx@@ -31,16 +31,16 @@ export const StyledPageInfoTextContainer = styled.div`export const StyledPageInfoTitleContainer = styled.div`font-size: ${themeCssVariables.font.size.md};font-weight: ${themeCssVariables.font.weight.semiBold};- padding-inline: ${themeCssVariables.spacing[1]};- min-width: 0;max-width: 150px;+ min-width: 0;+ padding-inline: ${themeCssVariables.spacing[1]};`;export const StyledPageInfoLabel = styled.div`color: ${themeCssVariables.font.color.tertiary};+ flex-shrink: 0;font-size: ${themeCssVariables.font.size.sm};white-space: nowrap;- flex-shrink: 0;`;type SidePanelPageInfoLayoutProps = {diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelSubViewWithSearch.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelSubViewWithSearch.tsxindex ac55f4a4e91..67ce929c9ed 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelSubViewWithSearch.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelSubViewWithSearch.tsx@@ -27,9 +27,9 @@ const StyledSearchInput = styled.input`border-radius: ${themeCssVariables.border.radius.sm};box-sizing: border-box;+ outline: none;padding: 0;width: 100%;- outline: none;&::placeholder {color: ${themeCssVariables.font.color.tertiary};@@ -38,8 +38,8 @@ const StyledSearchInput = styled.input`const StyledScrollableListWrapper = styled.div`display: flex;- flex-direction: column;flex: 1;+ flex-direction: column;min-height: 0;overflow: hidden;diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelTopBar.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelTopBar.tsxindex b1d9da3c9f2..fe2354c2ecb 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelTopBar.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelTopBar.tsx@@ -34,32 +34,32 @@ const StyledInputContainer = styled.div<{ isMobile: boolean }>`box-sizing: border-box;display: flex;- justify-content: space-between;+ flex-shrink: 0;font-size: ${themeCssVariables.font.size.lg};+ gap: ${themeCssVariables.spacing[4]};height: ${({ isMobile }) =>isMobile ? SIDE_PANEL_TOP_BAR_HEIGHT_MOBILE : SIDE_PANEL_TOP_BAR_HEIGHT}px;+ justify-content: space-between;+ justify-content: space-between;margin: 0;+outline: none;- position: relative;overflow: hidden;-padding: 0 ${themeCssVariables.spacing[2]};- gap: ${themeCssVariables.spacing[4]};- flex-shrink: 0;- justify-content: space-between;+ position: relative;`;const StyledInput = styled.input`+ background-color: transparent;border: none;border-radius: 0;- background-color: transparent;color: ${themeCssVariables.font.color.primary};+ flex: 1;font-size: ${themeCssVariables.font.size.md};+ height: 24px;margin: 0;outline: none;- height: 24px;padding: 0;- flex: 1;&::placeholder {color: ${themeCssVariables.font.color.light};diff --git a/packages/twenty-front/src/modules/side-panel/pages/common/components/SidePanelSubPageNavigationHeader.tsx b/packages/twenty-front/src/modules/side-panel/pages/common/components/SidePanelSubPageNavigationHeader.tsxindex fbefae75f5f..e606c0d1eae 100644--- a/packages/twenty-front/src/modules/side-panel/pages/common/components/SidePanelSubPageNavigationHeader.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/common/components/SidePanelSubPageNavigationHeader.tsx@@ -8,8 +8,8 @@ const StyledContainer = styled.div`border-bottom: 1px solid ${themeCssVariables.border.color.light};display: flex;gap: ${themeCssVariables.spacing[1]};- padding: 0 ${themeCssVariables.spacing[2]};height: 40px;+ padding: 0 ${themeCssVariables.spacing[2]};`;const StyledText = styled.span`diff --git a/packages/twenty-front/src/modules/side-panel/pages/message-thread/components/SidePanelMessageThreadPage.tsx b/packages/twenty-front/src/modules/side-panel/pages/message-thread/components/SidePanelMessageThreadPage.tsxindex b47d52bd561..b9a87082087 100644--- a/packages/twenty-front/src/modules/side-panel/pages/message-thread/components/SidePanelMessageThreadPage.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/message-thread/components/SidePanelMessageThreadPage.tsx@@ -25,8 +25,8 @@ const StyledWrapper = styled.div`const StyledContainer = styled.div`box-sizing: border-box;display: flex;- flex-direction: column;flex: 1;+ flex-direction: column;height: 85%;overflow-y: auto;`;@@ -34,11 +34,11 @@ const StyledContainer = styled.div`const StyledButtonContainer = styled.div`background: ${themeCssVariables.background.secondary};border-top: 1px solid ${themeCssVariables.border.color.light};+ box-sizing: border-box;display: flex;justify-content: flex-end;padding: ${themeCssVariables.spacing[2]};width: 100%;- box-sizing: border-box;`;const ALLOWED_REPLY_PROVIDERS = [diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutFieldsLayout.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutFieldsLayout.tsxindex 3d018566317..c10a22b8bc9 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutFieldsLayout.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutFieldsLayout.tsx@@ -25,8 +25,8 @@ const StyledContainer = styled.div`flex: 1;flex-direction: column;gap: ${themeCssVariables.spacing[3]};- padding: ${themeCssVariables.spacing[2]};overflow-y: auto;+ padding: ${themeCssVariables.spacing[2]};`;export const SidePanelPageLayoutFieldsLayout = () => {diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutFieldsSettings.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutFieldsSettings.tsxindex 4b0e0476fcc..82d7d84e98c 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutFieldsSettings.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutFieldsSettings.tsx@@ -22,8 +22,8 @@ const StyledContainer = styled.div`const StyledSidePanelContainer = styled.div`display: flex;- flex-direction: column;flex: 1;+ flex-direction: column;overflow: hidden;`;diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectControlContainer.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectControlContainer.tsxindex bd6556ee6bd..4d6e7469885 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectControlContainer.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectControlContainer.tsx@@ -5,8 +5,8 @@ const StyledControlContainer = styled.div<{ cursor: string }>`align-items: center;background-color: ${themeCssVariables.background.transparent.lighter};border: 1px solid ${themeCssVariables.border.color.medium};- box-sizing: border-box;border-radius: ${themeCssVariables.border.radius.sm};+ box-sizing: border-box;color: ${themeCssVariables.font.color.primary};cursor: ${({ cursor }) => cursor};display: flex;diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectRowLeftSelect.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectRowLeftSelect.tsxindex bdf9d9fd4a1..aabb92cd6f1 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectRowLeftSelect.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectRowLeftSelect.tsx@@ -6,8 +6,8 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledLabel = styled.span`color: ${themeCssVariables.font.color.primary};- font-weight: ${themeCssVariables.font.weight.regular};font-size: ${themeCssVariables.font.size.md};+ font-weight: ${themeCssVariables.font.weight.regular};`;const StyledControlLabel = styled.div`diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/UnmatchColumnBanner.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/UnmatchColumnBanner.tsxindex 9a25e9407cb..9b5e4d9b5ed 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/UnmatchColumnBanner.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/UnmatchColumnBanner.tsx@@ -44,13 +44,13 @@ const StyledIconChevronDownWrapper = styled.div<{`;const StyledClickableContainer = styled.div`+ align-items: center;cursor: pointer;- display: flex;+ display: flex;flex-direction: row;- width: 100%;justify-content: center;- align-items: center;+ width: 100%;`;export const UnmatchColumnBanner = ({diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/UploadStep/components/DropZone.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/UploadStep/components/DropZone.tsxindex 8b37c765c23..d2bced7379d 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/UploadStep/components/DropZone.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/UploadStep/components/DropZone.tsx@@ -80,18 +80,18 @@ const StyledText = styled.span`color: ${themeCssVariables.font.color.primary};font-size: ${themeCssVariables.font.size.sm};font-weight: ${themeCssVariables.font.weight.medium};- text-align: center;padding: 16px;+ text-align: center;`;const StyledFooterText = styled.span`+ bottom: ${themeCssVariables.spacing[4]};color: ${themeCssVariables.font.color.tertiary};font-size: ${themeCssVariables.font.size.xs};font-weight: ${themeCssVariables.font.weight.regular};- text-align: center;- position: absolute;- bottom: ${themeCssVariables.spacing[4]};left: 50%;+ position: absolute;+ text-align: center;transform: translateX(-50%);width: 100%;`;diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsxindex a4be5481002..cb49fb9fe6e 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx@@ -40,20 +40,20 @@ const StyledContentWrapper = styled.div`const StyledToolbar = styled.div`align-items: center;- border-radius: ${themeCssVariables.border.radius.md};- border: 1px solid ${themeCssVariables.border.color.medium};background-color: ${themeCssVariables.background.secondary};+ border: 1px solid ${themeCssVariables.border.color.medium};+ border-radius: ${themeCssVariables.border.radius.md};bottom: ${themeCssVariables.spacing[3]};+ box-shadow: ${themeCssVariables.boxShadow.strong};display: flex;flex-direction: row;justify-content: space-between;left: 50%;+ padding: ${themeCssVariables.spacing[3]};position: absolute;transform: translateX(-50%);width: 400px;- padding: ${themeCssVariables.spacing[3]};z-index: 1;- box-shadow: ${themeCssVariables.boxShadow.strong};`;const StyledButtonContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsx b/packages/twenty-front/src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsxindex 2b4c3f76a73..c74b2e9d714 100644--- a/packages/twenty-front/src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsx+++ b/packages/twenty-front/src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsx@@ -57,10 +57,10 @@ const StyledContainer = styled.div`box-shadow: ${themeCssVariables.boxShadow.strong};box-sizing: border-box;cursor: pointer;+ margin-top: ${themeCssVariables.spacing[2]};padding: ${themeCssVariables.spacing[2]};position: relative;width: 296px;- margin-top: ${themeCssVariables.spacing[2]};@media (max-width: ${MOBILE_VIEWPORT}px) {border-radius: 0;@@ -72,10 +72,10 @@ const StyledProgressBarContainer = styled.div`bottom: 0;height: auto;left: 0;+ pointer-events: none;position: absolute;right: 0;top: 0;- pointer-events: none;`;const StyledHeader = styled.div`@@ -106,22 +106,22 @@ const StyledActions = styled.div`const StyledDescription = styled.div`color: ${themeCssVariables.font.color.tertiary};font-size: ${themeCssVariables.font.size.sm};- padding-left: ${themeCssVariables.spacing[6]};overflow: hidden;+ padding-left: ${themeCssVariables.spacing[6]};text-overflow: ellipsis;width: 200px;`;const StyledLinkContainer = styled.div`> a {- display: block;color: ${themeCssVariables.font.color.tertiary};+ display: block;font-size: ${themeCssVariables.font.size.sm};- padding-left: ${themeCssVariables.spacing[6]};+ max-width: 200px;overflow: hidden;- white-space: nowrap;+ padding-left: ${themeCssVariables.spacing[6]};text-overflow: ellipsis;- max-width: 200px;+ white-space: nowrap;&:hover {color: ${themeCssVariables.font.color.secondary};}diff --git a/packages/twenty-front/src/modules/ui/field/display/components/BooleanDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/BooleanDisplay.tsxindex 19c9596ece1..faa489647f7 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/BooleanDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/BooleanDisplay.tsx@@ -12,9 +12,9 @@ type BooleanDisplayProps = {};const StyledContainer = styled.div`- height: 20px;- display: flex;align-items: center;+ display: flex;+ height: 20px;`;export const BooleanDisplay = ({ value }: BooleanDisplayProps) => {diff --git a/packages/twenty-front/src/modules/ui/field/display/components/TextDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/TextDisplay.tsxindex 57d10e81323..684b678dad6 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/TextDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/TextDisplay.tsx@@ -8,9 +8,9 @@ type TextDisplayProps = {};const StyledContainer = styled.div<{ fixHeight: boolean }>`- height: ${({ fixHeight }) => (fixHeight ? '20px' : 'auto')};- display: flex;align-items: center;+ display: flex;+ height: ${({ fixHeight }) => (fixHeight ? '20px' : 'auto')};`;export const TextDisplay = ({ text, displayedMaxRows }: TextDisplayProps) => {diff --git a/packages/twenty-front/src/modules/ui/field/display/components/UploadFileChip.tsx b/packages/twenty-front/src/modules/ui/field/display/components/UploadFileChip.tsxindex 2a4f9320567..0b74802779f 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/UploadFileChip.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/UploadFileChip.tsx@@ -11,8 +11,8 @@ const StyledContainer = styled.div`display: flex;gap: ${themeCssVariables.spacing[1]};height: ${themeCssVariables.spacing[5]};- padding: 0 ${themeCssVariables.spacing[1]};margin-right: ${themeCssVariables.spacing[1]};+ padding: 0 ${themeCssVariables.spacing[1]};`;const StyledIconBox = styled.div`diff --git a/packages/twenty-front/src/modules/ui/field/input/components/AddressInput.tsx b/packages/twenty-front/src/modules/ui/field/input/components/AddressInput.tsxindex 86410bef2fe..727579e7665 100644--- a/packages/twenty-front/src/modules/ui/field/input/components/AddressInput.tsx+++ b/packages/twenty-front/src/modules/ui/field/input/components/AddressInput.tsx@@ -45,8 +45,8 @@ const StyledAddressContainer = styled.div`const StyledHalfRowContainer = styled.div`display: grid;- grid-template-columns: repeat(auto-fit, minmax(0, 1fr));gap: 8px;+ grid-template-columns: repeat(auto-fit, minmax(0, 1fr));@media (max-width: ${MOBILE_VIEWPORT}px) {display: block;diff --git a/packages/twenty-front/src/modules/ui/field/input/components/BooleanInput.tsx b/packages/twenty-front/src/modules/ui/field/input/components/BooleanInput.tsxindex 28cbf8bd2dd..700fadd543e 100644--- a/packages/twenty-front/src/modules/ui/field/input/components/BooleanInput.tsx+++ b/packages/twenty-front/src/modules/ui/field/input/components/BooleanInput.tsx@@ -6,16 +6,16 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledEditableBooleanFieldContainer = styled.div<{ readonly?: boolean }>`align-items: center;- cursor: ${({ onClick }) => (onClick ? 'pointer' : 'default')};- display: flex;-- height: 100%;- width: 100%;-color: ${({ readonly }) =>readonly? themeCssVariables.font.color.tertiary: themeCssVariables.font.color.primary};+ cursor: ${({ onClick }) => (onClick ? 'pointer' : 'default')};++ display: flex;+ height: 100%;++ width: 100%;`;type BooleanInputProps = {diff --git a/packages/twenty-front/src/modules/ui/field/input/components/CurrencyInput.tsx b/packages/twenty-front/src/modules/ui/field/input/components/CurrencyInput.tsxindex ed0214e2b73..e0f123dc457 100644--- a/packages/twenty-front/src/modules/ui/field/input/components/CurrencyInput.tsx+++ b/packages/twenty-front/src/modules/ui/field/input/components/CurrencyInput.tsx@@ -12,13 +12,13 @@ import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';export const StyledIMaskInput = styled.div`> input {- margin: 0;background-color: transparent;border: none;color: ${themeCssVariables.font.color.primary};font-family: ${themeCssVariables.font.family};font-size: inherit;font-weight: inherit;+ margin: 0;outline: none;padding: ${themeCssVariables.spacing[0]} ${themeCssVariables.spacing[1.5]};@@ -45,9 +45,9 @@ const StyledIcon = styled.div`display: flex;& > svg {- padding-left: ${themeCssVariables.spacing[1]};color: ${themeCssVariables.font.color.tertiary};height: ${themeCssVariables.icon.size.md}px;+ padding-left: ${themeCssVariables.spacing[1]};width: ${themeCssVariables.icon.size.md}px;}`;diff --git a/packages/twenty-front/src/modules/ui/field/input/components/TextAreaInput.tsx b/packages/twenty-front/src/modules/ui/field/input/components/TextAreaInput.tsxindex 15357ab43c0..2e20ee18f31 100644--- a/packages/twenty-front/src/modules/ui/field/input/components/TextAreaInput.tsx+++ b/packages/twenty-front/src/modules/ui/field/input/components/TextAreaInput.tsx@@ -27,14 +27,14 @@ export type TextAreaInputProps = {const StyledTextAreaContainer = styled.div`> textarea {+ align-items: center;background-color: transparent;border: none;color: ${themeCssVariables.font.color.primary};+ display: flex;font-family: ${themeCssVariables.font.family};font-size: inherit;font-weight: inherit;- outline: none;- padding: ${themeCssVariables.spacing[0]} ${themeCssVariables.spacing[2]};&::placeholder,&::-webkit-input-placeholder {@@ -43,23 +43,23 @@ const StyledTextAreaContainer = styled.div`font-weight: ${themeCssVariables.font.weight.medium};}- align-items: center;- display: flex;justify-content: center;- resize: none;+ line-height: 18px;max-height: 400px;- width: calc(100% - ${themeCssVariables.spacing[7]});+ outline: none;+ padding: ${themeCssVariables.spacing[0]} ${themeCssVariables.spacing[2]};+ resize: none;- line-height: 18px;+ width: calc(100% - ${themeCssVariables.spacing[7]});}`;const StyledLightIconButtonContainer = styled.div`background: transparent;position: absolute;+ right: 0;top: 16px;transform: translateY(-50%);- right: 0;`;export const TextAreaInput = ({diff --git a/packages/twenty-front/src/modules/ui/field/input/components/TextInput.tsx b/packages/twenty-front/src/modules/ui/field/input/components/TextInput.tsxindex a6e7c06075e..aebc27a7641 100644--- a/packages/twenty-front/src/modules/ui/field/input/components/TextInput.tsx+++ b/packages/twenty-front/src/modules/ui/field/input/components/TextInput.tsx@@ -6,13 +6,13 @@ import { useRegisterInputEvents } from '@/object-record/record-field/ui/meta-typimport { themeCssVariables } from 'twenty-ui/theme-constants';export const StyledTextInput = styled.input`- margin: 0;background-color: transparent;border: none;color: ${themeCssVariables.font.color.primary};font-family: ${themeCssVariables.font.family};font-size: inherit;font-weight: inherit;+ margin: 0;outline: none;padding: ${themeCssVariables.spacing[0]} ${themeCssVariables.spacing[2]};diff --git a/packages/twenty-front/src/modules/ui/input/components/IconPicker.tsx b/packages/twenty-front/src/modules/ui/input/components/IconPicker.tsxindex 9154d209cc2..ce5c46e7cab 100644--- a/packages/twenty-front/src/modules/ui/input/components/IconPicker.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/IconPicker.tsx@@ -105,20 +105,20 @@ const StyledLightIconButton = ({);const StyledLoadingMore = styled.div`- display: flex;- justify-content: center;align-items: center;- height: 40px;+ display: flex;font-size: 14px;+ height: 40px;+ justify-content: center;`;const StyledMatrixItem = styled.div`- width: 32px;- height: 32px;- display: flex;align-items: center;- justify-content: center;box-sizing: border-box;+ display: flex;+ height: 32px;+ justify-content: center;+ width: 32px;`;const convertIconKeyToLabel = (iconKey: string) =>diff --git a/packages/twenty-front/src/modules/ui/input/components/ImageInput.tsx b/packages/twenty-front/src/modules/ui/input/components/ImageInput.tsxindex c14f8c662ed..6898ad399bf 100644--- a/packages/twenty-front/src/modules/ui/input/components/ImageInput.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/ImageInput.tsx@@ -54,10 +54,10 @@ const StyledContent = styled.div`display: flex;flex: 1;flex-direction: column;+ gap: ${themeCssVariables.spacing[3]};justify-content: start;- margin-left: ${themeCssVariables.spacing[4]};- gap: ${themeCssVariables.spacing[3]};+ margin-left: ${themeCssVariables.spacing[4]};`;const StyledButtonContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ui/input/components/InputErrorHelper.tsx b/packages/twenty-front/src/modules/ui/input/components/InputErrorHelper.tsxindex 00b5c59c695..4497e11b41d 100644--- a/packages/twenty-front/src/modules/ui/input/components/InputErrorHelper.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/InputErrorHelper.tsx@@ -6,8 +6,8 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledInputErrorHelper = styled.div`color: ${themeCssVariables.color.red};font-size: ${themeCssVariables.font.size.xs};- position: absolute;margin-top: 1px;+ position: absolute;`;export const InputErrorHelper = ({diff --git a/packages/twenty-front/src/modules/ui/input/components/SelectControl.tsx b/packages/twenty-front/src/modules/ui/input/components/SelectControl.tsxindex 1aa0064bf50..2fbab01ed6b 100644--- a/packages/twenty-front/src/modules/ui/input/components/SelectControl.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/SelectControl.tsx@@ -16,32 +16,20 @@ export const StyledControlContainer = styled.div<{textAccent: SelectControlTextAccent;hasRightElement?: boolean;}>`- display: grid;- grid-template-columns: ${({ hasIcon }) =>- hasIcon ? 'auto 1fr auto' : '1fr auto'};align-items: center;- gap: ${themeCssVariables.spacing[1]};- box-sizing: border-box;- height: ${({ selectSizeVariant }) =>- selectSizeVariant === 'small'- ? themeCssVariables.spacing[6]- : themeCssVariables.spacing[8]};- max-width: 100%;- padding: 0 ${themeCssVariables.spacing[2]};background-color: ${themeCssVariables.background.transparent.lighter};border: 1px solid ${themeCssVariables.border.color.medium};- border-top-left-radius: ${themeCssVariables.border.radius.sm};border-bottom-left-radius: ${themeCssVariables.border.radius.sm};-+ border-bottom-right-radius: ${({ hasRightElement }) =>+ hasRightElement ? '0' : themeCssVariables.border.radius.sm};border-right: ${({ hasRightElement }) =>hasRightElement? 'none': `1px solid ${themeCssVariables.border.color.medium}`};- border-bottom-right-radius: ${({ hasRightElement }) =>- hasRightElement ? '0' : themeCssVariables.border.radius.sm};+ border-top-left-radius: ${themeCssVariables.border.radius.sm};border-top-right-radius: ${({ hasRightElement }) =>hasRightElement ? '0' : themeCssVariables.border.radius.sm};-+ box-sizing: border-box;color: ${({ disabled, textAccent }) =>disabled? themeCssVariables.font.color.tertiary@@ -49,6 +37,18 @@ export const StyledControlContainer = styled.div<{? themeCssVariables.font.color.primary: themeCssVariables.font.color.tertiary};cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};+ display: grid;++ gap: ${themeCssVariables.spacing[1]};+ grid-template-columns: ${({ hasIcon }) =>+ hasIcon ? 'auto 1fr auto' : '1fr auto'};+ height: ${({ selectSizeVariant }) =>+ selectSizeVariant === 'small'+ ? themeCssVariables.spacing[6]+ : themeCssVariables.spacing[8]};++ max-width: 100%;+ padding: 0 ${themeCssVariables.spacing[2]};text-align: left;`;diff --git a/packages/twenty-front/src/modules/ui/input/components/TextInput.tsx b/packages/twenty-front/src/modules/ui/input/components/TextInput.tsxindex ac02d02d600..aad0dc2a650 100644--- a/packages/twenty-front/src/modules/ui/input/components/TextInput.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/TextInput.tsx@@ -22,8 +22,8 @@ const StyledContainer = styled.div<Pick<TextInputComponentProps, 'fullWidth'>>`box-sizing: border-box;display: inline-flex;flex-direction: column;- width: ${({ fullWidth }) => (fullWidth ? `100%` : 'auto')};position: relative;+ width: ${({ fullWidth }) => (fullWidth ? `100%` : 'auto')};`;const StyledInputContainer = styled.div`@@ -43,10 +43,14 @@ const StyledAdornmentContainer = styled.div<StyledAdornmentContainerProps>`align-items: center;background-color: ${themeCssVariables.background.transparent.light};border: 1px solid ${themeCssVariables.border.color.medium};+ border-left-style: ${({ position }) =>+ position === 'right' ? 'none' : 'solid'};border-radius: ${({ position }) =>position === 'left'? `${themeCssVariables.border.radius.sm} 0 0 ${themeCssVariables.border.radius.sm}`: `0 ${themeCssVariables.border.radius.sm} ${themeCssVariables.border.radius.sm} 0`};+ border-right-style: ${({ position }) =>+ position === 'left' ? 'none' : 'solid'};box-sizing: border-box;color: ${themeCssVariables.font.color.tertiary};display: flex;@@ -61,9 +65,6 @@ const StyledAdornmentContainer = styled.div<StyledAdornmentContainerProps>`? '28px': '32px'};justify-content: center;- min-width: fit-content;- padding: ${themeCssVariables.spacing[2]};- width: auto;line-height: ${({ sizeVariant }) =>sizeVariant === 'xs'? '20px'@@ -72,11 +73,10 @@ const StyledAdornmentContainer = styled.div<StyledAdornmentContainerProps>`: sizeVariant === 'md'? '28px': '32px'};+ min-width: fit-content;- border-right-style: ${({ position }) =>- position === 'left' ? 'none' : 'solid'};- border-left-style: ${({ position }) =>- position === 'right' ? 'none' : 'solid'};+ padding: ${themeCssVariables.spacing[2]};+ width: auto;`;const StyledInput = styled.input<@@ -94,18 +94,18 @@ const StyledInput = styled.input<>>`background-color: ${themeCssVariables.background.transparent.lighter};+ border: 1px solid+ ${({ error }) =>+ error+ ? themeCssVariables.border.color.danger+ : themeCssVariables.border.color.medium};+border-radius: ${({ leftAdornment, rightAdornment }) =>leftAdornment? `0 ${themeCssVariables.border.radius.sm} ${themeCssVariables.border.radius.sm} 0`: rightAdornment? `${themeCssVariables.border.radius.sm} 0 0 ${themeCssVariables.border.radius.sm}`: themeCssVariables.border.radius.sm};-- border: 1px solid- ${({ error }) =>- error- ? themeCssVariables.border.color.danger- : themeCssVariables.border.color.medium};box-sizing: border-box;color: ${themeCssVariables.font.color.primary};display: flex;@@ -124,6 +124,7 @@ const StyledInput = styled.input<: sizeVariant === 'md'? '28px': '32px'};+ max-width: ${({ autoGrow }) => (autoGrow ? '100%' : 'none')};outline: none;padding: ${({ sizeVariant, autoGrow }) =>autoGrow@@ -143,12 +144,11 @@ const StyledInput = styled.input<: RightIcon? `calc(${themeCssVariables.spacing[3]} + 16px)`: themeCssVariables.spacing[2]};+ text-overflow: ellipsis;width: ${({ width }) =>isDefined(width)? `calc(${width}px + ${themeCssVariables.spacing[0.5]})`: '100%'};- max-width: ${({ autoGrow }) => (autoGrow ? '100%' : 'none')};- text-overflow: ellipsis;&::placeholder,&::-webkit-input-placeholder {color: ${themeCssVariables.font.color.light};@@ -175,8 +175,10 @@ const StyledInput = styled.input<const StyledLeftIconContainer = styled.div<{ sizeVariant: TextInputSize }>`align-items: center;+ bottom: 0;display: flex;justify-content: center;+ margin: auto 0;padding-left: ${({ sizeVariant }) =>sizeVariant === 'xs'? themeCssVariables.spacing[0.5]@@ -185,22 +187,20 @@ const StyledLeftIconContainer = styled.div<{ sizeVariant: TextInputSize }>`: themeCssVariables.spacing[2]};position: absolute;top: 0;- bottom: 0;- margin: auto 0;`;const StyledTrailingIconContainer = styled.div<Pick<TextInputComponentProps, 'error'>>`align-items: center;+ bottom: 0;display: flex;justify-content: center;+ margin: auto 0;padding-right: ${themeCssVariables.spacing[2]};position: absolute;- top: 0;- bottom: 0;right: 0;- margin: auto 0;+ top: 0;`;const StyledTrailingIcon = styled.div<{diff --git a/packages/twenty-front/src/modules/ui/input/components/TitleInput.tsx b/packages/twenty-front/src/modules/ui/input/components/TitleInput.tsxindex e77803fb01e..dcb5854ef96 100644--- a/packages/twenty-front/src/modules/ui/input/components/TitleInput.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/TitleInput.tsx@@ -34,12 +34,14 @@ const StyledDiv = styled.div<{sizeVariant: TextInputSize;disabled?: boolean;}>`+ align-items: center;background: inherit;border: none;border-radius: ${themeCssVariables.border.radius.sm};+ box-sizing: border-box;color: ${themeCssVariables.font.color.primary};cursor: ${({ disabled }) => (disabled ? 'default' : 'pointer')};- overflow: hidden;+ display: flex;height: ${({ sizeVariant }) =>sizeVariant === 'xs'? '20px'@@ -48,10 +50,8 @@ const StyledDiv = styled.div<{: sizeVariant === 'md'? '28px': '32px'};+ overflow: hidden;padding: ${themeCssVariables.spacing[0]} 5px;- box-sizing: border-box;- display: flex;- align-items: center;:hover {background: ${({ disabled }) =>disabled ? 'inherit' : themeCssVariables.background.transparent.light};diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/currency/components/CurrencyPickerDropdownButton.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/currency/components/CurrencyPickerDropdownButton.tsxindex 947d1c3fb41..323fc9ff670 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/currency/components/CurrencyPickerDropdownButton.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/currency/components/CurrencyPickerDropdownButton.tsx@@ -12,10 +12,10 @@ import { CurrencyPickerDropdownSelect } from './CurrencyPickerDropdownSelect';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledDropdownButtonContainer = styled.div`align-items: center;+ border-right: 1px solid ${themeCssVariables.border.color.medium};color: ${({ color }) => color ?? 'none'};cursor: pointer;display: flex;- border-right: 1px solid ${themeCssVariables.border.color.medium};height: 32px;padding-left: ${themeCssVariables.spacing[2]};padding-right: ${themeCssVariables.spacing[2]};@@ -29,8 +29,8 @@ const StyledIconContainer = styled.div`align-items: center;color: ${themeCssVariables.font.color.tertiary};display: flex;- gap: ${themeCssVariables.spacing[1]};font-weight: ${themeCssVariables.font.weight.medium};+ gap: ${themeCssVariables.spacing[1]};justify-content: center;svg {diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePickerHeader.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePickerHeader.tsxindex 59826c58582..df5defaac8b 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePickerHeader.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePickerHeader.tsx@@ -22,12 +22,12 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledCustomDatePickerHeader = styled.div`align-items: center;display: flex;+ gap: ${themeCssVariables.spacing[1]};justify-content: flex-end;padding-left: ${themeCssVariables.spacing[2]};padding-right: ${themeCssVariables.spacing[2]};- padding-top: ${themeCssVariables.spacing[2]};- gap: ${themeCssVariables.spacing[1]};+ padding-top: ${themeCssVariables.spacing[2]};`;const years = Array.from(diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePickerInput.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePickerInput.tsxindex 6e025f566ea..2b14767e8ee 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePickerInput.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePickerInput.tsx@@ -28,15 +28,15 @@ const StyledInputContainer = styled.div`const StyledInput = styled.input<{ hasError?: boolean }>`background: transparent;border: none;- outline: none;- padding: 4px 8px 4px 8px;- font-weight: 500;- font-size: ${themeCssVariables.font.size.md};- width: 100%;color: ${({ hasError }) =>hasError? themeCssVariables.color.red: themeCssVariables.font.color.primary};+ font-size: ${themeCssVariables.font.size.md};+ font-weight: 500;+ outline: none;+ padding: 4px 8px 4px 8px;+ width: 100%;`;type DatePickerInputProps = {diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePickerHeader.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePickerHeader.tsxindex 95cc674ba4a..5e7ed4f67fe 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePickerHeader.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePickerHeader.tsx@@ -20,12 +20,12 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledCustomDatePickerHeader = styled.div`align-items: center;display: flex;+ gap: ${themeCssVariables.spacing[1]};justify-content: flex-end;padding-left: ${themeCssVariables.spacing[2]};padding-right: ${themeCssVariables.spacing[2]};- padding-top: ${themeCssVariables.spacing[2]};- gap: ${themeCssVariables.spacing[1]};+ padding-top: ${themeCssVariables.spacing[2]};`;const StyledSeparator = styled.div`diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePickerInput.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePickerInput.tsxindex af9d9564ef1..07ab9d57463 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePickerInput.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePickerInput.tsx@@ -34,10 +34,10 @@ const StyledInput = styled.input<{ hasError?: boolean }>`background: transparent;border: none;color: ${themeCssVariables.font.color.primary};+ font-size: ${themeCssVariables.font.size.md};+ font-weight: 500;outline: none;padding-left: ${themeCssVariables.spacing[2]};- font-weight: 500;- font-size: ${themeCssVariables.font.size.md};width: 140px;`;diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/RelativeDatePickerHeader.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/RelativeDatePickerHeader.tsxindex 8083bf271d3..f3a28765c1e 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/RelativeDatePickerHeader.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/RelativeDatePickerHeader.tsx@@ -18,8 +18,8 @@ import {import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div<{ noPadding: boolean }>`- display: flex;align-items: center;+ display: flex;gap: ${themeCssVariables.spacing[1]};padding: ${({ noPadding }) =>noPadding ? '0' : themeCssVariables.spacing[2]};diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/TimeZoneAbbreviation.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/TimeZoneAbbreviation.tsxindex 79e9164fbd8..e9038fc82e2 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/TimeZoneAbbreviation.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/TimeZoneAbbreviation.tsx@@ -10,9 +10,9 @@ const StyledTimezoneAbbreviation = styled.span<{ hasError?: boolean }>`color: ${themeCssVariables.font.color.tertiary};font-size: ${themeCssVariables.font.size.sm};- width: fit-content;-user-select: none;++ width: fit-content;`;export const TimeZoneAbbreviation = ({diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/phone/components/PhoneCountryPickerDropdownButton.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/phone/components/PhoneCountryPickerDropdownButton.tsxindex 034351a7860..6d44fd5a3ef 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/phone/components/PhoneCountryPickerDropdownButton.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/phone/components/PhoneCountryPickerDropdownButton.tsx@@ -24,17 +24,17 @@ const StyledDropdownButtonContainer = styled.div<StyledDropdownButtonProps>`background: none;border-radius: ${themeCssVariables.border.radius.xs} 0 0${themeCssVariables.border.radius.xs};+ border-right: 1px solid ${themeCssVariables.border.color.medium};color: ${({ color }) => color ?? 'none'};cursor: pointer;+display: flex;height: 32px;-padding-left: ${themeCssVariables.spacing[2]};padding-right: ${themeCssVariables.spacing[1]};- user-select: none;- border-right: 1px solid ${themeCssVariables.border.color.medium};+ user-select: none;&:hover {background-color: ${themeCssVariables.background.transparent.light};@@ -52,8 +52,8 @@ const StyledIconContainer = styled.div`align-items: center;display: flex;height: 12px;- width: 16px;justify-content: center;+ width: 16px;}`;@@ -62,8 +62,8 @@ const StyledCheveronIconContainer = styled.div`align-items: center;display: flex;height: 14px;- width: 14px;justify-content: center;+ width: 14px;}`;diff --git a/packages/twenty-front/src/modules/ui/input/relation-picker/components/skeletons/DropdownMenuSkeletonItem.tsx b/packages/twenty-front/src/modules/ui/input/relation-picker/components/skeletons/DropdownMenuSkeletonItem.tsxindex 1627eea4168..884f8efb69f 100644--- a/packages/twenty-front/src/modules/ui/input/relation-picker/components/skeletons/DropdownMenuSkeletonItem.tsx+++ b/packages/twenty-front/src/modules/ui/input/relation-picker/components/skeletons/DropdownMenuSkeletonItem.tsx@@ -9,15 +9,15 @@ const StyledDropdownMenuSkeletonContainer = styled.div`--vertical-padding: ${themeCssVariables.spacing[2]};border-radius: ${themeCssVariables.border.radius.sm};- gap: ${themeCssVariables.spacing[2]};box-sizing: border-box;-flex-shrink: 0;- padding-left: var(--horizontal-padding);- padding-right: var(--horizontal-padding);+ gap: ${themeCssVariables.spacing[2]};height: ${themeCssVariables.spacing[8]};+ padding-left: var(--horizontal-padding);++ padding-right: var(--horizontal-padding);`;export const DropdownMenuSkeletonItem = ({diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader/DropdownMenuHeader.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader/DropdownMenuHeader.tsxindex 71f2e86fbca..a120624e390 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader/DropdownMenuHeader.tsx+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader/DropdownMenuHeader.tsx@@ -5,39 +5,39 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledHeader = styled.li`align-items: center;+ border-bottom: 1px solid ${themeCssVariables.border.color.light};+ border-top-left-radius: ${themeCssVariables.border.radius.sm};+ border-top-right-radius: ${themeCssVariables.border.radius.sm};color: ${themeCssVariables.font.color.primary};cursor: ${({ onClick }) => (onClick ? 'pointer' : 'default')};display: flex;+ flex-shrink: 0;font-size: ${({ onClick }) =>onClick ? themeCssVariables.font.size.sm : themeCssVariables.font.size.md};font-weight: ${themeCssVariables.font.weight.medium};- border-top-left-radius: ${themeCssVariables.border.radius.sm};- border-top-right-radius: ${themeCssVariables.border.radius.sm};- padding: ${themeCssVariables.spacing[1]};- border-bottom: 1px solid ${themeCssVariables.border.color.light};height: ${themeCssVariables.spacing[6]};- user-select: none;+ padding: ${themeCssVariables.spacing[1]};&:hover {background: ${({ onClick }) =>onClick ? themeCssVariables.background.transparent.light : 'none'};}- flex-shrink: 0;+ user-select: none;`;const StyledChildrenWrapper = styled.span`overflow: hidden;padding: 0 ${themeCssVariables.spacing[1]};- white-space: nowrap;text-overflow: ellipsis;+ white-space: nowrap;`;const StyledEndComponent = styled.div`- display: inline-flex;color: ${themeCssVariables.font.color.tertiary};+ display: inline-flex;margin-left: auto;margin-right: 0;diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader/internal/DropdownMenuHeaderLeftComponent.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader/internal/DropdownMenuHeaderLeftComponent.tsxindex 2bf581a313f..325fc76ceeb 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader/internal/DropdownMenuHeaderLeftComponent.tsx+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader/internal/DropdownMenuHeaderLeftComponent.tsx@@ -19,10 +19,10 @@ const StyledNonClickableStartIcon = styled.div`font-family: ${themeCssVariables.font.family};font-weight: ${themeCssVariables.font.weight.regular};gap: ${themeCssVariables.spacing[1]};- justify-content: center;+ height: ${themeCssVariables.spacing[6]};+ justify-content: center;white-space: nowrap;- height: ${themeCssVariables.spacing[6]};width: ${themeCssVariables.spacing[6]};`;diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuInnerSelect.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuInnerSelect.tsxindex dfc9526ed86..9fd728c0009 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuInnerSelect.tsx+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuInnerSelect.tsx@@ -12,21 +12,21 @@ import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledDropdownMenuInnerSelectDropdownButton = styled.div`align-items: center;+ box-sizing: border-box;color: ${themeCssVariables.font.color.secondary};+ cursor: pointer;+display: flex;font-size: ${themeCssVariables.font.size.sm};font-weight: ${themeCssVariables.font.weight.medium};- height: ${themeCssVariables.spacing[7]};+ height: ${themeCssVariables.spacing[7]};justify-content: space-between;-padding-left: ${themeCssVariables.spacing[2]};+padding-right: ${themeCssVariables.spacing[2]};width: 100%;-- box-sizing: border-box;- cursor: pointer;`;export type DropdownMenuInnerSelectProps = {diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuInput.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuInput.tsxindex 281b72320b2..9ef8fa2ce42 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuInput.tsx+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuInput.tsx@@ -18,12 +18,12 @@ const StyledInput = styled.input<{}>`background-color: transparent;border: none;+ box-sizing: border-box;color: ${themeCssVariables.font.color.primary};font-family: ${themeCssVariables.font.family};font-size: inherit;+ font-weight: ${themeCssVariables.font.weight.medium};font-weight: inherit;- outline: none;- padding: ${themeCssVariables.spacing[0]} ${themeCssVariables.spacing[2]};&::placeholder,&::-webkit-input-placeholder {@@ -32,14 +32,14 @@ const StyledInput = styled.input<{font-weight: ${themeCssVariables.font.weight.medium};}- box-sizing: border-box;- font-weight: ${themeCssVariables.font.weight.medium};height: 32px;- position: relative;- width: 100%;-+ outline: none;+ padding: ${themeCssVariables.spacing[0]} ${themeCssVariables.spacing[2]};padding-right: ${({ withRightComponent }) =>withRightComponent ? '32px' : '0'};+ position: relative;++ width: 100%;`;const StyledInputContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuItemsContainer.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuItemsContainer.tsxindex b4ca96132a7..12ccb138ba0 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuItemsContainer.tsx+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuItemsContainer.tsx@@ -8,17 +8,17 @@ const StyledExternalContainer = styled.div<{--padding: ${themeCssVariables.spacing[1]};align-items: flex-start;- display: flex;+ box-sizing: border-box;+ display: flex;flex-direction: column;- max-height: ${({ maxHeight }) => (maxHeight ? `${maxHeight}px` : 'none')};-- width: 100%;height: fit-content;+ max-height: ${({ maxHeight }) => (maxHeight ? `${maxHeight}px` : 'none')};+padding: var(--padding);- box-sizing: border-box;+ width: 100%;`;const StyledScrollableContainer = styled.div<{ maxHeight?: number }>`@@ -26,11 +26,11 @@ const StyledScrollableContainer = styled.div<{ maxHeight?: number }>`display: flex;max-height: ${({ maxHeight }) => (maxHeight ? `${maxHeight}px` : 'none')};- width: 100%;-overflow-y: auto;+scrollbar-color: ${themeCssVariables.border.color.medium} transparent;scrollbar-width: 4px;+ width: 100%;*::-webkit-scrollbar-thumb {border-radius: ${themeCssVariables.border.radius.sm};diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuSearchInput.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuSearchInput.tsxindex 61463f5909d..53352607ffa 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuSearchInput.tsx+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuSearchInput.tsx@@ -6,8 +6,8 @@ import { forwardRef, type InputHTMLAttributes } from 'react';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledDropdownMenuSearchInputContainer = styled.div`- align-items: center;--vertical-padding: ${themeCssVariables.spacing[2]};+ align-items: center;display: flex;flex-direction: row;min-height: calc(36px - 2 * var(--vertical-padding));@@ -17,14 +17,14 @@ const StyledDropdownMenuSearchInputContainer = styled.div``;const StyledInput = styled.input`+ background-color: transparent;background-color: transparent;border: none;color: ${themeCssVariables.font.color.primary};font-family: ${themeCssVariables.font.family};+ font-size: ${themeCssVariables.font.size.sm};font-size: inherit;font-weight: inherit;- outline: none;- padding: ${themeCssVariables.spacing[0]} ${themeCssVariables.spacing[2]};&::placeholder,&::-webkit-input-placeholder {@@ -33,8 +33,8 @@ const StyledInput = styled.input`font-weight: ${themeCssVariables.font.weight.medium};}- font-size: ${themeCssVariables.font.size.sm};- background-color: transparent;+ outline: none;+ padding: ${themeCssVariables.spacing[0]} ${themeCssVariables.spacing[2]};width: 100%;&[type='number']::-webkit-outer-spin-button,diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuSectionLabel.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuSectionLabel.tsxindex 1ad4ccf5dee..7e718f21fc2 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuSectionLabel.tsx+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuSectionLabel.tsx@@ -2,16 +2,16 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';import { styled } from '@linaria/react';const StyledDropdownMenuSectionLabel = styled.div`+ align-items: center;background-color: ${themeCssVariables.background.transparent.lighter};color: ${themeCssVariables.font.color.tertiary};- min-height: 20px;- width: auto;- font-size: ${themeCssVariables.font.size.xxs};display: flex;- align-items: center;+ font-size: ${themeCssVariables.font.size.xxs};justify-content: flex-start;+ min-height: 20px;padding-left: ${themeCssVariables.spacing[1]};user-select: none;+ width: auto;`;export type DropdownMenuSectionLabelProps = {diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/StyledHeaderDropdownButton.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/StyledHeaderDropdownButton.tsxindex 71054c73d90..1c03d3aae49 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/StyledHeaderDropdownButton.tsx+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/StyledHeaderDropdownButton.tsx@@ -7,8 +7,11 @@ type StyledDropdownButtonProps = {};export const StyledHeaderDropdownButton = styled.button<StyledDropdownButtonProps>`- font-family: inherit;align-items: center;+ background: ${({ isUnfolded }) =>+ isUnfolded+ ? themeCssVariables.background.transparent.light+ : themeCssVariables.background.primary};border: none;border-radius: ${themeCssVariables.border.radius.sm};color: ${({ isActive }) =>@@ -18,16 +21,13 @@ export const StyledHeaderDropdownButton = styled.button<StyledDropdownButtonPropcursor: pointer;display: flex;+ font-family: inherit;padding: ${themeCssVariables.spacing[1]};- padding-left: ${themeCssVariables.spacing[2]};+ padding-left: ${themeCssVariables.spacing[2]};padding-right: ${themeCssVariables.spacing[2]};- user-select: none;- background: ${({ isUnfolded }) =>- isUnfolded- ? themeCssVariables.background.transparent.light- : themeCssVariables.background.primary};+ user-select: none;&:hover {background: ${({ isUnfolded }) =>diff --git a/packages/twenty-front/src/modules/ui/layout/expandable-list/components/ExpandedFieldDisplay.tsx b/packages/twenty-front/src/modules/ui/layout/expandable-list/components/ExpandedFieldDisplay.tsxindex d31a05d02c5..f7e2a2e734b 100644--- a/packages/twenty-front/src/modules/ui/layout/expandable-list/components/ExpandedFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/layout/expandable-list/components/ExpandedFieldDisplay.tsx@@ -13,16 +13,16 @@ type ExpandedFieldDisplayProps = {};const StyledExpandedFieldContainer = styled.div`+ box-sizing: border-box;display: flex;flex-direction: column;gap: ${themeCssVariables.spacing[1]};- padding: ${themeCssVariables.spacing[2]};- overflow: auto;- box-sizing: border-box;height: 300px;- width: 400px;- position: relative;+ overflow: auto;overflow-y: auto;+ padding: ${themeCssVariables.spacing[2]};+ position: relative;+ width: 400px;`;const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ui/layout/overlay/components/OverlayContainer.tsx b/packages/twenty-front/src/modules/ui/layout/overlay/components/OverlayContainer.tsxindex 409a1ab23ca..0e1b724ac14 100644--- a/packages/twenty-front/src/modules/ui/layout/overlay/components/OverlayContainer.tsx+++ b/packages/twenty-front/src/modules/ui/layout/overlay/components/OverlayContainer.tsx@@ -7,18 +7,18 @@ export const OverlayContainer = styled.div<{hasDangerBorder?: boolean;}>`align-items: center;- display: flex;-backdrop-filter: ${themeCssVariables.blur.medium};- border-radius: ${({ borderRadius }) =>- themeCssVariables.border.radius[borderRadius ?? 'md']};-background: ${themeCssVariables.background.transparent.primary};+border: 1px solid${({ hasDangerBorder }) =>themeCssVariables.border.color[hasDangerBorder ? 'danger' : 'medium']};++ border-radius: ${({ borderRadius }) =>+ themeCssVariables.border.radius[borderRadius ?? 'md']};box-shadow: ${themeCssVariables.boxShadow.strong};+ display: flex;overflow: hidden;diff --git a/packages/twenty-front/src/modules/ui/layout/page/components/PageBody.tsx b/packages/twenty-front/src/modules/ui/layout/page/components/PageBody.tsxindex 0b2c33295e5..4cefe8a24b0 100644--- a/packages/twenty-front/src/modules/ui/layout/page/components/PageBody.tsx+++ b/packages/twenty-front/src/modules/ui/layout/page/components/PageBody.tsx@@ -18,8 +18,8 @@ const StyledMainContainer = styled.div`gap: ${themeCssVariables.spacing[2]};min-height: 0;padding-bottom: ${themeCssVariables.spacing[3]};- padding-right: ${themeCssVariables.spacing[3]};padding-left: 0;+ padding-right: ${themeCssVariables.spacing[3]};width: 100%;`;diff --git a/packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsx b/packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsxindex fa4d6dc55c9..4a4ea3654fd 100644--- a/packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsx+++ b/packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsx@@ -29,14 +29,14 @@ const StyledTopBarContainer = styled.div<{ isMobile: boolean }>`display: flex;flex-direction: row;font-size: ${themeCssVariables.font.size.lg};+ gap: ${themeCssVariables.spacing[2]};justify-content: space-between;min-height: ${PAGE_BAR_MIN_HEIGHT}px;- padding-top: ${themeCssVariables.spacing[3]};padding-bottom: ${themeCssVariables.spacing[3]};padding-left: ${({ isMobile }) =>isMobile ? themeCssVariables.spacing[3] : 0};padding-right: ${themeCssVariables.spacing[3]};- gap: ${themeCssVariables.spacing[2]};+ padding-top: ${themeCssVariables.spacing[3]};`;const StyledLeftContainer = styled.div`@@ -52,28 +52,28 @@ const StyledLeftContainer = styled.div``;const StyledTitleContainer = styled.div`+ align-items: center;display: flex;font-size: ${themeCssVariables.font.size.md};font-weight: ${themeCssVariables.font.weight.medium};margin-right: ${themeCssVariables.spacing[1]};- width: 100%;overflow: hidden;- align-items: center;+ width: 100%;`;const StyledTopBarIconStyledTitleContainer = styled.div`align-items: center;display: flex;- gap: ${themeCssVariables.spacing[1]};flex-direction: row;- width: 100%;+ gap: ${themeCssVariables.spacing[1]};overflow: hidden;+ width: 100%;`;const StyledPageActionContainer = styled.div`display: inline-flex;- gap: ${themeCssVariables.spacing[2]};flex: 1 0 auto;+ gap: ${themeCssVariables.spacing[2]};`;const StyledIconContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ui/layout/page/components/PagePanel.tsx b/packages/twenty-front/src/modules/ui/layout/page/components/PagePanel.tsxindex 70535860745..578e637b39e 100644--- a/packages/twenty-front/src/modules/ui/layout/page/components/PagePanel.tsx+++ b/packages/twenty-front/src/modules/ui/layout/page/components/PagePanel.tsx@@ -6,12 +6,12 @@ const StyledPanel = styled.div`background: ${themeCssVariables.background.primary};border: 1px solid ${themeCssVariables.border.color.medium};border-radius: ${themeCssVariables.border.radius.md};+ display: flex;+ flex-direction: column;height: 100%;overflow-x: auto;overflow-y: hidden;width: 100%;- display: flex;- flex-direction: column;`;type PagePanelProps = {diff --git a/packages/twenty-front/src/modules/ui/layout/page/components/ShowPageContainer.tsx b/packages/twenty-front/src/modules/ui/layout/page/components/ShowPageContainer.tsxindex 150629500b1..210c052ccff 100644--- a/packages/twenty-front/src/modules/ui/layout/page/components/ShowPageContainer.tsx+++ b/packages/twenty-front/src/modules/ui/layout/page/components/ShowPageContainer.tsx@@ -15,8 +15,8 @@ const StyledOuterContainer = styled.div`const StyledInnerContainer = styled.div`display: flex;flex-direction: var(--show-page-direction, row);- width: 100%;height: 100%;+ width: 100%;`;const StyledScrollWrapperContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ui/layout/resizable-panel/components/ResizablePanelEdge.tsx b/packages/twenty-front/src/modules/ui/layout/resizable-panel/components/ResizablePanelEdge.tsxindex a9a8938d8da..0cc33abcb43 100644--- a/packages/twenty-front/src/modules/ui/layout/resizable-panel/components/ResizablePanelEdge.tsx+++ b/packages/twenty-front/src/modules/ui/layout/resizable-panel/components/ResizablePanelEdge.tsx@@ -29,20 +29,20 @@ const StyledEdge = styled.div<StyledEdgeProps>``;const StyledHandle = styled.div<{ isActive: boolean; isHovered: boolean }>`- width: 4px;- height: 48px;- border-radius: ${themeCssVariables.border.radius.pill};background-color: ${({ isActive, isHovered }) =>isActive? themeCssVariables.color.blue: isHovered? themeCssVariables.font.color.tertiary: themeCssVariables.background.quaternary};+ border-radius: ${themeCssVariables.border.radius.pill};+ height: 48px;+ transform: ${({ isHovered, isActive }) =>+ isHovered || isActive ? 'scaleY(1.2)' : 'scaleY(1)'};transition:background-color ${themeCssVariables.animation.duration.fast}s,transform ${themeCssVariables.animation.duration.fast}s;- transform: ${({ isHovered, isActive }) =>- isHovered || isActive ? 'scaleY(1.2)' : 'scaleY(1)'};+ width: 4px;`;type ResizablePanelEdgeProps = {diff --git a/packages/twenty-front/src/modules/ui/layout/resizable-panel/components/ResizablePanelGap.tsx b/packages/twenty-front/src/modules/ui/layout/resizable-panel/components/ResizablePanelGap.tsxindex 904c3f20c0f..84feed86fcb 100644--- a/packages/twenty-front/src/modules/ui/layout/resizable-panel/components/ResizablePanelGap.tsx+++ b/packages/twenty-front/src/modules/ui/layout/resizable-panel/components/ResizablePanelGap.tsx@@ -8,8 +8,8 @@ const StyledGap = styled.div<{ gapWidth: number }>`cursor: col-resize;flex-shrink: 0;height: 100%;- width: ${({ gapWidth }) => gapWidth}px;transition: width 0.15s ease;+ width: ${({ gapWidth }) => gapWidth}px;`;type ResizablePanelGapProps = {diff --git a/packages/twenty-front/src/modules/ui/layout/selectable-list/components/SelectableListItem.tsx b/packages/twenty-front/src/modules/ui/layout/selectable-list/components/SelectableListItem.tsxindex 9738d724209..ef25eb9add7 100644--- a/packages/twenty-front/src/modules/ui/layout/selectable-list/components/SelectableListItem.tsx+++ b/packages/twenty-front/src/modules/ui/layout/selectable-list/components/SelectableListItem.tsx@@ -7,11 +7,11 @@ import { styled } from '@linaria/react';import { isDefined } from 'twenty-shared/utils';const StyledListItemContainer = styled.div`+ box-sizing: border-box;display: flex;flex-direction: column;- width: 100%;height: 100%;- box-sizing: border-box;+ width: 100%;`;export type SelectableListItemProps = {diff --git a/packages/twenty-front/src/modules/ui/layout/show-page/components/FieldRichTextCard.tsx b/packages/twenty-front/src/modules/ui/layout/show-page/components/FieldRichTextCard.tsxindex 71e96072900..21c9483ac98 100644--- a/packages/twenty-front/src/modules/ui/layout/show-page/components/FieldRichTextCard.tsx+++ b/packages/twenty-front/src/modules/ui/layout/show-page/components/FieldRichTextCard.tsx@@ -17,10 +17,10 @@ const ActivityRichTextEditor = lazy(() =>);const StyledShowPageActivityContainer = styled.div`+ box-sizing: border-box;margin-top: ${themeCssVariables.spacing[6]};- width: 100%;padding-inline: 44px;- box-sizing: border-box;+ width: 100%;`;const StyledSkeletonContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsx b/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsxindex 6e2b85bde1c..7cbf8f1fdc1 100644--- a/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsx+++ b/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsx@@ -37,15 +37,15 @@ export const StyledShowPageSummaryCard = styled.div<{isMobile: boolean;}>`align-items: center;+ border-bottom: 1px solid ${themeCssVariables.border.color.light};+ box-sizing: border-box;display: flex;flex-direction: ${({ isMobile }) => (isMobile ? 'row' : 'column')};gap: ${({ isMobile }) =>isMobile ? themeCssVariables.spacing[2] : themeCssVariables.spacing[3]};+ height: ${({ isMobile }) => (isMobile ? '77px' : '127px')};justify-content: ${({ isMobile }) => (isMobile ? 'flex-start' : 'center')};padding: ${themeCssVariables.spacing[4]};- border-bottom: 1px solid ${themeCssVariables.border.color.light};- height: ${({ isMobile }) => (isMobile ? '77px' : '127px')};- box-sizing: border-box;`;const StyledInfoContainer = styled.div<{ isMobile: boolean }>`diff --git a/packages/twenty-front/src/modules/ui/layout/side-panel/components/SidePanelFooter.tsx b/packages/twenty-front/src/modules/ui/layout/side-panel/components/SidePanelFooter.tsxindex e0bcd992dc4..18529be36df 100644--- a/packages/twenty-front/src/modules/ui/layout/side-panel/components/SidePanelFooter.tsx+++ b/packages/twenty-front/src/modules/ui/layout/side-panel/components/SidePanelFooter.tsx@@ -9,9 +9,9 @@ const StyledContainer = styled.div`bottom: 0;box-sizing: border-box;display: flex;+ gap: ${themeCssVariables.spacing[2]};justify-content: flex-end;padding: ${themeCssVariables.spacing[2]} ${themeCssVariables.spacing[3]};- gap: ${themeCssVariables.spacing[2]};width: 100%;`;diff --git a/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabList.tsx b/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabList.tsxindex a846b9df2ae..83ab430abb1 100644--- a/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabList.tsx+++ b/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabList.tsx@@ -42,9 +42,9 @@ const StyledDropdownContainer = styled.div`const StyledTabContainer = styled.div`display: flex;gap: ${TAB_LIST_GAP}px;- position: relative;- overflow: hidden;max-width: 100%;+ overflow: hidden;+ position: relative;`;export const TabList = ({diff --git a/packages/twenty-front/src/modules/ui/layout/table/components/TableHeader.tsx b/packages/twenty-front/src/modules/ui/layout/table/components/TableHeader.tsxindex bd09ba93ded..d9b0073cc22 100644--- a/packages/twenty-front/src/modules/ui/layout/table/components/TableHeader.tsx+++ b/packages/twenty-front/src/modules/ui/layout/table/components/TableHeader.tsx@@ -6,12 +6,13 @@ const StyledTableHeader = styled.div<{onClick?: () => void;padding?: string;}>`- gap: ${themeCssVariables.spacing[1]};align-items: center;border-bottom: 1px solid ${themeCssVariables.border.color.light};color: ${themeCssVariables.font.color.tertiary};+ cursor: ${({ onClick }) => (onClick ? 'pointer' : 'default')};display: flex;font-weight: ${themeCssVariables.font.weight.medium};+ gap: ${themeCssVariables.spacing[1]};height: ${themeCssVariables.spacing[8]};justify-content: ${({ align }) =>align === 'right'@@ -21,7 +22,6 @@ const StyledTableHeader = styled.div<{: 'flex-start'};padding: ${({ padding }) => padding ?? `0 ${themeCssVariables.spacing[2]}`};text-align: ${({ align }) => align ?? 'left'};- cursor: ${({ onClick }) => (onClick ? 'pointer' : 'default')};`;export { StyledTableHeader as TableHeader };diff --git a/packages/twenty-front/src/modules/ui/layout/table/components/TableRow.tsx b/packages/twenty-front/src/modules/ui/layout/table/components/TableRow.tsxindex 6f9fa259c77..cbb9b3261a7 100644--- a/packages/twenty-front/src/modules/ui/layout/table/components/TableRow.tsx+++ b/packages/twenty-front/src/modules/ui/layout/table/components/TableRow.tsx@@ -24,20 +24,20 @@ const StyledTableRow = styled.div<{cursor: ${({ cursor }) => cursor ?? 'default'};display: grid;grid-auto-columns: ${({ gridAutoColumns }) => gridAutoColumns ?? '1fr'};- grid-template-columns: ${({ gridTemplateColumns }) =>- gridTemplateColumns ?? 'none'};+ grid-auto-flow: column;@media (max-width: ${MOBILE_VIEWPORT}px) {grid-auto-columns: ${({ mobileGridAutoColumns, gridAutoColumns }) =>mobileGridAutoColumns ?? gridAutoColumns ?? '1fr'};}+ grid-template-columns: ${({ gridTemplateColumns }) =>+ gridTemplateColumns ?? 'none'};height: ${({ height }) => height ?? 'auto'};- grid-auto-flow: column;+ text-decoration: none;transition: background-colorcalc(${themeCssVariables.animation.duration.normal} * 1s);width: 100%;- text-decoration: none;&:hover {background-color: ${({ onClick, to, hoverBackgroundColor }) =>diff --git a/packages/twenty-front/src/modules/ui/layout/top-bar/components/TopBar.tsx b/packages/twenty-front/src/modules/ui/layout/top-bar/components/TopBar.tsxindex 59db9a4642b..37dc9a446ea 100644--- a/packages/twenty-front/src/modules/ui/layout/top-bar/components/TopBar.tsx+++ b/packages/twenty-front/src/modules/ui/layout/top-bar/components/TopBar.tsx@@ -13,9 +13,9 @@ type TopBarProps = {const StyledContainer = styled.div`border-bottom: 1px solid ${themeCssVariables.border.color.light};display: flex;- margin-left: ${themeCssVariables.spacing[3]};-flex-direction: column;++ margin-left: ${themeCssVariables.spacing[3]};`;const StyledTopBar = styled.div`diff --git a/packages/twenty-front/src/modules/ui/navigation/bread-crumb/components/Breadcrumb.tsx b/packages/twenty-front/src/modules/ui/navigation/bread-crumb/components/Breadcrumb.tsxindex c50455025dd..6ce921e1872 100644--- a/packages/twenty-front/src/modules/ui/navigation/bread-crumb/components/Breadcrumb.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/bread-crumb/components/Breadcrumb.tsx@@ -17,16 +17,16 @@ const StyledWrapper = styled.nav`font-size: ${themeCssVariables.font.size.md};grid-auto-flow: column;grid-column-gap: ${themeCssVariables.spacing[1]};+ height: ${themeCssVariables.spacing[8]};max-width: 100%;min-width: 0;- height: ${themeCssVariables.spacing[8]};`;const StyledLinkContainer = styled.div`> a {color: inherit;- text-decoration: none;overflow: hidden;+ text-decoration: none;text-overflow: ellipsis;white-space: nowrap;}diff --git a/packages/twenty-front/src/modules/ui/navigation/bread-crumb/components/MobileBreadcrumb.tsx b/packages/twenty-front/src/modules/ui/navigation/bread-crumb/components/MobileBreadcrumb.tsxindex e05e37b98dd..f3ef082c249 100644--- a/packages/twenty-front/src/modules/ui/navigation/bread-crumb/components/MobileBreadcrumb.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/bread-crumb/components/MobileBreadcrumb.tsx@@ -19,16 +19,16 @@ const StyledWrapper = styled.nav`font-size: ${themeCssVariables.font.size.md};grid-auto-flow: column;grid-column-gap: ${themeCssVariables.spacing[1]};+ height: ${themeCssVariables.spacing[8]};max-width: 100%;min-width: 0;- height: ${themeCssVariables.spacing[8]};`;const StyledLinkContainer = styled.div`> a {color: inherit;- text-decoration: none;overflow: hidden;+ text-decoration: none;text-overflow: ellipsis;white-space: nowrap;}diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspacesDropdownStyles.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspacesDropdownStyles.tsxindex 496886f9567..da520a2bc56 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspacesDropdownStyles.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspacesDropdownStyles.tsx@@ -6,18 +6,18 @@ export const StyledContainer = styled.div<{isNavigationDrawerExpanded: boolean;}>`align-items: center;- cursor: pointer;- color: ${themeCssVariables.font.color.primary};- border-radius: ${themeCssVariables.border.radius.sm};border: 1px solid transparent;+ border-radius: ${themeCssVariables.border.radius.sm};+ color: ${themeCssVariables.font.color.primary};+ cursor: pointer;display: flex;- justify-content: space-between;+ gap: ${({ isNavigationDrawerExpanded }) =>+ isNavigationDrawerExpanded ? themeCssVariables.spacing[1] : '0'};height: ${themeCssVariables.spacing[5]};+ justify-content: space-between;padding: calc(${themeCssVariables.spacing[1]} - 1px);width: ${({ isNavigationDrawerExpanded }) =>isNavigationDrawerExpanded ? '100%' : 'auto'};- gap: ${({ isNavigationDrawerExpanded }) =>- isNavigationDrawerExpanded ? themeCssVariables.spacing[1] : '0'};&:hover {background-color: ${themeCssVariables.background.transparent.lighter};border: 1px solid ${themeCssVariables.border.color.medium};diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsxindex 7db4576089d..ddc0cc9e909 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsx@@ -36,14 +36,14 @@ const StyledAnimatedContainer = styled.div<{max-height: 100vh;overflow: hidden;position: relative;- width: ${({ isExpanded }) =>- isExpanded- ? `var(${NAVIGATION_DRAWER_WIDTH_VAR})`- : `${NAVIGATION_DRAWER_COLLAPSED_WIDTH}px`};transition: ${({ isResizing }) =>isResizing? 'none': `width calc(${themeCssVariables.animation.duration.normal} * 1s)`};+ width: ${({ isExpanded }) =>+ isExpanded+ ? `var(${NAVIGATION_DRAWER_WIDTH_VAR})`+ : `${NAVIGATION_DRAWER_COLLAPSED_WIDTH}px`};@media (max-width: ${MOBILE_VIEWPORT}px) {width: ${({ isExpanded }) => (isExpanded ? '100%' : '0')};@@ -58,8 +58,6 @@ const StyledContainer = styled.div<{box-sizing: border-box;display: flex;flex-direction: column;- width: ${({ isExpanded }) =>- isExpanded ? `var(${NAVIGATION_DRAWER_WIDTH_VAR})` : '100%'};gap: ${themeCssVariables.spacing[3]};height: 100%;padding: ${({ isSettings, isMobile }) =>@@ -68,6 +66,8 @@ const StyledContainer = styled.div<{? `${themeCssVariables.spacing[3]} 0 0 ${themeCssVariables.spacing[8]}`: `${themeCssVariables.spacing[3]} 0 ${themeCssVariables.spacing[4]} 0`: `${themeCssVariables.spacing[3]} 0 ${themeCssVariables.spacing[4]} ${themeCssVariables.spacing[2]}`};+ width: ${({ isExpanded }) =>+ isExpanded ? `var(${NAVIGATION_DRAWER_WIDTH_VAR})` : '100%'};@media (max-width: ${MOBILE_VIEWPORT}px) {width: 100%;padding-left: ${themeCssVariables.spacing[5]};diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerBackButton.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerBackButton.tsxindex 7708fa7a7a6..69da653341b 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerBackButton.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerBackButton.tsx@@ -24,11 +24,11 @@ const StyledIconAndButtonContainer = styled.button`cursor: pointer;display: flex;flex-direction: row;+ font-family: ${themeCssVariables.font.family};font-weight: ${themeCssVariables.font.weight.medium};gap: ${themeCssVariables.spacing[2]};padding: ${themeCssVariables.spacing['1.5']} ${themeCssVariables.spacing[1]};width: 100%;- font-family: ${themeCssVariables.font.family};&:hover {background: ${themeCssVariables.background.transparent.light};border-radius: ${themeCssVariables.border.radius.sm};diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerHeader.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerHeader.tsxindex 3acb12927d7..4aa8aef9b4c 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerHeader.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerHeader.tsx@@ -17,10 +17,10 @@ const StyledContainer = styled.div<{ isExpanded: boolean }>`display: flex;flex-direction: ${({ isExpanded }) => (isExpanded ? 'row' : 'column')};gap: ${({ isExpanded }) => (isExpanded ? '0' : themeCssVariables.spacing[4])};- user-select: none;- padding-right: ${themeCssVariables.spacing[2]};min-height: ${PAGE_BAR_MIN_HEIGHT}px;+ padding-right: ${themeCssVariables.spacing[2]};transition: gap calc(${themeCssVariables.animation.duration.normal} * 1s) ease;+ user-select: none;`;const StyledRightActions = styled.div<{ isExpanded: boolean }>`@@ -42,10 +42,10 @@ const StyledNavigationDrawerCollapseButtonContainer = styled.div``;const StyledWorkspaceDropdownContainer = styled.div`- min-height: ${themeCssVariables.spacing[8]};- display: flex;align-items: center;+ display: flex;justify-content: center;+ min-height: ${themeCssVariables.spacing[8]};`;type NavigationDrawerHeaderProps = {diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsxindex a5bfe19607d..f083b40dc6f 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx@@ -84,17 +84,15 @@ type StyledItemProps = Pick<};const StyledItem = styled.button<StyledItemProps>`- box-sizing: border-box;align-items: center;background: ${({ active }) =>active ? themeCssVariables.background.transparent.light : 'transparent'};- height: ${themeCssVariables.spacing[7]};border: ${({ isSelectedInEditMode }) =>isSelectedInEditMode? `1px solid ${themeCssVariables.color.blue}`: '1px solid transparent'};border-radius: ${themeCssVariables.border.radius.sm};- text-decoration: none;+ box-sizing: border-box;color: ${({ active, danger, soon }) => {if (active === true) {return themeCssVariables.font.color.primary;@@ -112,6 +110,9 @@ const StyledItem = styled.button<StyledItemProps>`display: flex;font-family: ${themeCssVariables.font.family};font-size: ${themeCssVariables.font.size.md};+ height: ${themeCssVariables.spacing[7]};+ margin-top: ${({ indentationLevel }) =>+ indentationLevel === 2 ? '2px' : '0'};padding-bottom: ${themeCssVariables.spacing[1]};padding-left: ${themeCssVariables.spacing[1]};@@ -121,15 +122,11 @@ const StyledItem = styled.button<StyledItemProps>`: themeCssVariables.spacing[1]};padding-top: ${themeCssVariables.spacing[1]};- margin-top: ${({ indentationLevel }) =>- indentationLevel === 2 ? '2px' : '0'};-pointer-events: ${({ soon }) => (soon ? 'none' : 'auto')};- width: ${({ isNavigationDrawerExpanded, hasRightOptions }) =>- !isNavigationDrawerExpanded- ? `calc(${NAVIGATION_DRAWER_COLLAPSED_WIDTH}px - ${themeCssVariables.spacing[6]} + ${themeCssVariables.spacing[1]} + ${hasRightOptions ? themeCssVariables.spacing['0.5'] : themeCssVariables.spacing[1]})`- : `calc(100% - ${themeCssVariables.spacing['1.5']} + ${themeCssVariables.spacing[1]} + ${hasRightOptions ? themeCssVariables.spacing['0.5'] : themeCssVariables.spacing[1]})`};+ text-decoration: none;++ user-select: none;&:hover {background: ${themeCssVariables.background.transparent.light};@@ -143,7 +140,10 @@ const StyledItem = styled.button<StyledItemProps>`visibility: visible;}- user-select: none;+ width: ${({ isNavigationDrawerExpanded, hasRightOptions }) =>+ !isNavigationDrawerExpanded+ ? `calc(${NAVIGATION_DRAWER_COLLAPSED_WIDTH}px - ${themeCssVariables.spacing[6]} + ${themeCssVariables.spacing[1]} + ${hasRightOptions ? themeCssVariables.spacing['0.5'] : themeCssVariables.spacing[1]})`+ : `calc(100% - ${themeCssVariables.spacing['1.5']} + ${themeCssVariables.spacing[1]} + ${hasRightOptions ? themeCssVariables.spacing['0.5'] : themeCssVariables.spacing[1]})`};@media (max-width: ${MOBILE_VIEWPORT}px) {font-size: ${themeCssVariables.font.size.lg};@@ -157,13 +157,13 @@ const StyledItemElementsContainer = styled.div``;const StyledLabelParent = styled.div`- display: flex;align-items: center;+ display: flex;flex: 1 1 auto;- white-space: nowrap;min-width: 0px;overflow: hidden;text-overflow: clip;+ white-space: nowrap;`;const StyledItemLabel = styled.span`@@ -191,17 +191,17 @@ const StyledItemCount = styled.span`const StyledKeyBoardShortcut = styled.span`align-items: center;+ background: ${themeCssVariables.background.transparent.lighter};+ border: 1px solid ${themeCssVariables.border.color.strong};+ border-radius: ${themeCssVariables.border.radius.sm};+ box-sizing: border-box;display: flex;flex-direction: column;gap: ${themeCssVariables.spacing[2]};+height: ${themeCssVariables.spacing[4]};justify-content: center;width: ${themeCssVariables.spacing[4]};- box-sizing: border-box;-- border-radius: ${themeCssVariables.border.radius.sm};- border: 1px solid ${themeCssVariables.border.color.strong};- background: ${themeCssVariables.background.transparent.lighter};`;const StyledNavigationDrawerItemContainer = styled.div`@@ -218,44 +218,44 @@ const StyledIcon = styled.div<{$borderColor?: string;}>`align-items: center;- display: flex;- flex-grow: 0;- flex-shrink: 0;- justify-content: center;- margin-right: ${themeCssVariables.spacing[2]};background-color: ${({ $backgroundColor }) =>$backgroundColor || 'transparent'};+ border: ${({ $backgroundColor, $borderColor }) =>+ $backgroundColor && $borderColor ? `1px solid ${$borderColor}` : 'none'};border-radius: ${({ $backgroundColor }) => ($backgroundColor ? '4px' : '0')};box-sizing: ${({ $backgroundColor }) =>$backgroundColor ? 'border-box' : 'content-box'};+ display: flex;+ flex-grow: 0;+ flex-shrink: 0;height: ${({ $backgroundColor }) =>$backgroundColor ? themeCssVariables.spacing[4] : 'auto'};+ justify-content: center;+ margin-right: ${themeCssVariables.spacing[2]};width: ${({ $backgroundColor }) =>$backgroundColor ? themeCssVariables.spacing[4] : 'auto'};- border: ${({ $backgroundColor, $borderColor }) =>- $backgroundColor && $borderColor ? `1px solid ${$borderColor}` : 'none'};`;const StyledRightOptionsContainer = styled.div`- display: flex;align-items: center;- justify-content: center;- flex-shrink: 0;+ border-radius: ${themeCssVariables.border.radius.sm};+ display: flex;flex-grow: 0;+ flex-shrink: 0;height: ${themeCssVariables.spacing[6]};- border-radius: ${themeCssVariables.border.radius.sm};+ justify-content: center;`;const StyledRightOptionsVisbility = styled.div`+ clip-path: inset(1px);display: block;+ height: 1px;opacity: 0;- transition: opacity 150ms;- position: absolute;- padding-left: ${themeCssVariables.spacing[2]};overflow: hidden;- clip-path: inset(1px);+ padding-left: ${themeCssVariables.spacing[2]};+ position: absolute;+ transition: opacity 150ms;white-space: nowrap;- height: 1px;width: 1px;&[data-visible='true'],diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItemBreadcrumb.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItemBreadcrumb.tsxindex 798d3ac934e..690021522c5 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItemBreadcrumb.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItemBreadcrumb.tsx@@ -20,10 +20,10 @@ const StyledGapVerticalLine = styled.div<{ darker: boolean }>`? themeCssVariables.font.color.tertiary: themeCssVariables.border.color.strong};+ height: 2px;position: relative;- top: -2px;- height: 2px;+ top: -2px;width: 1px;`;@@ -33,9 +33,9 @@ const StyledSecondaryFullVerticalBar = styled.div<{ darker: boolean }>`? themeCssVariables.font.color.tertiary: themeCssVariables.border.color.strong};+ height: 28px;position: relative;top: -17px;- height: 28px;width: 1px;`;diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerScrollableContent.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerScrollableContent.tsxindex 47ca1d27d7f..1aec9eeecc0 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerScrollableContent.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerScrollableContent.tsx@@ -7,10 +7,10 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledItemsContainer = styled.div`display: flex;+ flex: 1;flex-direction: column;margin-bottom: auto;overflow: hidden;- flex: 1;`;const StyledScrollableInnerContainer = styled.div<{ isMobile?: boolean }>`diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsxindex d7a4e278ae0..718d61c52e6 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsx@@ -16,15 +16,15 @@ const StyledTitle = styled.div`border-radius: ${themeCssVariables.border.radius.sm};display: flex;height: ${themeCssVariables.spacing[5]};+ justify-content: space-between;+ padding-bottom: ${themeCssVariables.spacing[1]};padding-left: ${themeCssVariables.spacing[1]};padding-right: ${themeCssVariables.spacing['0.5']};padding-top: ${themeCssVariables.spacing[1]};- padding-bottom: ${themeCssVariables.spacing[1]};- justify-content: space-between;&:hover {- cursor: pointer;background-color: ${themeCssVariables.background.transparent.light};+ cursor: pointer;}`;diff --git a/packages/twenty-front/src/modules/ui/navigation/step-bar/components/Step.tsx b/packages/twenty-front/src/modules/ui/navigation/step-bar/components/Step.tsxindex 2863c175574..e73dcd3fde1 100644--- a/packages/twenty-front/src/modules/ui/navigation/step-bar/components/Step.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/step-bar/components/Step.tsx@@ -21,13 +21,13 @@ const StyledContainer = styled.div<{ isLast: boolean }>`const StyledStepCircleBase = styled.div<{ isInNextSteps: boolean }>`align-items: center;- border-radius: 50%;- border-style: solid;- border-width: 1px;border-color: ${({ isInNextSteps }) =>isInNextSteps? themeCssVariables.border.color.medium: themeCssVariables.border.color.inverted} !important;+ border-radius: 50%;+ border-style: solid;+ border-width: 1px;display: flex;flex-basis: auto;flex-shrink: 0;diff --git a/packages/twenty-front/src/modules/ui/utilities/drag-select/components/DragSelect.tsx b/packages/twenty-front/src/modules/ui/utilities/drag-select/components/DragSelect.tsxindex cd894b2a1a0..e59d96b7fdb 100644--- a/packages/twenty-front/src/modules/ui/utilities/drag-select/components/DragSelect.tsx+++ b/packages/twenty-front/src/modules/ui/utilities/drag-select/components/DragSelect.tsx@@ -26,15 +26,15 @@ type Position = {import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledDragSelection = styled.div<SelectionBox>`- position: absolute;- z-index: 99;- opacity: 0.2;- border: 1px solid ${themeCssVariables.color.blue3};background: ${themeCssVariables.color.blue7};- top: ${({ top }) => top}px;+ border: 1px solid ${themeCssVariables.color.blue3};+ height: ${({ height }) => height}px;left: ${({ left }) => left}px;+ opacity: 0.2;+ position: absolute;+ top: ${({ top }) => top}px;width: ${({ width }) => width}px;- height: ${({ height }) => height}px;+ z-index: 99;`;export const DragSelect = ({diff --git a/packages/twenty-front/src/modules/ui/utilities/scroll/components/ScrollWrapper.tsx b/packages/twenty-front/src/modules/ui/utilities/scroll/components/ScrollWrapper.tsxindex 290cf10d996..5dc7f764919 100644--- a/packages/twenty-front/src/modules/ui/utilities/scroll/components/ScrollWrapper.tsx+++ b/packages/twenty-front/src/modules/ui/utilities/scroll/components/ScrollWrapper.tsx@@ -14,10 +14,10 @@ const StyledScrollWrapper = styled.div<{ autoHeight?: boolean }>`&.scroll-wrapper-y-enabled {overflow-y: overlay;}+ height: ${({ autoHeight }) => (autoHeight ? 'auto' : '100%')};overflow-x: hidden;overflow-y: hidden;width: 100%;- height: ${({ autoHeight }) => (autoHeight ? 'auto' : '100%')};`;export type ScrollWrapperProps = {diff --git a/packages/twenty-front/src/modules/views/components/SortOrFilterChip.tsx b/packages/twenty-front/src/modules/views/components/SortOrFilterChip.tsxindex 87486b2ae8d..5fe0c9f91c1 100644--- a/packages/twenty-front/src/modules/views/components/SortOrFilterChip.tsx+++ b/packages/twenty-front/src/modules/views/components/SortOrFilterChip.tsx@@ -25,6 +25,7 @@ const StyledChip = styled.div<{ variant: SortOrFilterChipVariant }>`}}};border-radius: 4px;+ box-sizing: border-box;color: ${({ variant }) => {switch (variant) {case 'danger':@@ -34,17 +35,16 @@ const StyledChip = styled.div<{ variant: SortOrFilterChipVariant }>`return themeCssVariables.color.blue;}}};- height: 24px;- box-sizing: border-box;+ column-gap: ${themeCssVariables.spacing[1]};cursor: pointer;display: flex;flex-direction: row;flex-shrink: 0;font-size: ${themeCssVariables.font.size.sm};font-weight: ${themeCssVariables.font.weight.medium};+ height: 24px;padding: ${themeCssVariables.spacing[0.5]};padding-left: ${themeCssVariables.spacing[1]};- column-gap: ${themeCssVariables.spacing[1]};user-select: none;white-space: nowrap;`;@@ -55,20 +55,20 @@ const StyledIcon = styled.div``;const StyledDelete = styled.button<{ variant: SortOrFilterChipVariant }>`- box-sizing: border-box;- height: 20px;- width: 20px;- display: flex;- justify-content: center;align-items: center;- cursor: pointer;- font-size: ${themeCssVariables.font.size.sm};- user-select: none;- padding: 0;- margin: 0;background: none;border: none;+ box-sizing: border-box;color: inherit;+ cursor: pointer;+ display: flex;+ font-size: ${themeCssVariables.font.size.sm};+ height: 20px;+ justify-content: center;+ margin: 0;+ padding: 0;+ user-select: none;+ width: 20px;&:hover {background-color: ${({ variant }) => {diff --git a/packages/twenty-front/src/modules/views/components/ViewBarDetails.tsx b/packages/twenty-front/src/modules/views/components/ViewBarDetails.tsxindex 65715be302f..4db3694a3eb 100644--- a/packages/twenty-front/src/modules/views/components/ViewBarDetails.tsx+++ b/packages/twenty-front/src/modules/views/components/ViewBarDetails.tsx@@ -52,8 +52,8 @@ const StyledBar = styled.div`flex-direction: row;justify-content: space-between;min-height: 32px;- padding-top: ${themeCssVariables.spacing[1]};padding-bottom: ${themeCssVariables.spacing[1]};+ padding-top: ${themeCssVariables.spacing[1]};z-index: 4;`;diff --git a/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownBottomMenu.tsx b/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownBottomMenu.tsxindex 73974a323f5..e75e9aae1a9 100644--- a/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownBottomMenu.tsx+++ b/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownBottomMenu.tsx@@ -4,9 +4,9 @@ import { styled } from '@linaria/react';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`+ align-items: center;display: flex;flex-direction: column;- align-items: center;justify-content: space-between;padding: ${themeCssVariables.spacing[1]};`;diff --git a/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownFieldSelectMenu.tsx b/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownFieldSelectMenu.tsxindex a468d6aca03..3b618ac02f7 100644--- a/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownFieldSelectMenu.tsx+++ b/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownFieldSelectMenu.tsx@@ -29,22 +29,22 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';export const StyledInput = styled.input`background: transparent;border: none;- border-top: none;border-bottom: 1px solid ${themeCssVariables.border.color.light};border-radius: 0;+ border-top: none;border-top-left-radius: ${themeCssVariables.border.radius.md};border-top-right-radius: ${themeCssVariables.border.radius.md};color: ${themeCssVariables.font.color.primary};- margin: 0;- outline: none;- padding: ${themeCssVariables.spacing[2]};- min-height: 19px;font-family: inherit;font-size: ${themeCssVariables.font.size.sm};-font-weight: inherit;+ margin: 0;max-width: 100%;+ min-height: 19px;++ outline: none;overflow: hidden;+ padding: ${themeCssVariables.spacing[2]};text-decoration: none;&::placeholder {diff --git a/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerIconAndNameContainer.tsx b/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerIconAndNameContainer.tsxindex 38835594e87..24cb34eb2c2 100644--- a/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerIconAndNameContainer.tsx+++ b/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerIconAndNameContainer.tsx@@ -4,9 +4,9 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledIconAndNameContainer = styled.div`align-items: center;display: flex;+ gap: ${themeCssVariables.spacing[1]};margin-left: ${themeCssVariables.spacing[1]};margin-right: ${themeCssVariables.spacing[1]};- gap: ${themeCssVariables.spacing[1]};`;export { StyledIconAndNameContainer as ViewPickerIconAndNameContainer };diff --git a/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerSelectContainer.tsx b/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerSelectContainer.tsxindex babe7753baa..0ee5f7a77f7 100644--- a/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerSelectContainer.tsx+++ b/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerSelectContainer.tsx@@ -2,11 +2,11 @@ import { styled } from '@linaria/react';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledSelectContainer = styled.div`+ color: ${themeCssVariables.font.color.light};display: flex;- width: calc(100% - ${themeCssVariables.spacing[2]});margin: ${themeCssVariables.spacing[1]};- color: ${themeCssVariables.font.color.light};user-select: none;+ width: calc(100% - ${themeCssVariables.spacing[2]});`;export { StyledSelectContainer as ViewPickerSelectContainer };diff --git a/packages/twenty-front/src/modules/workflow/components/WorkflowStepExecutionResult.tsx b/packages/twenty-front/src/modules/workflow/components/WorkflowStepExecutionResult.tsxindex 0737cd9c422..aaa7ac9e288 100644--- a/packages/twenty-front/src/modules/workflow/components/WorkflowStepExecutionResult.tsx+++ b/packages/twenty-front/src/modules/workflow/components/WorkflowStepExecutionResult.tsx@@ -12,8 +12,8 @@ import { themeCssVariables, ThemeContext } from 'twenty-ui/theme-constants';import { useContext } from 'react';const StyledContainer = styled.div`display: flex;- flex-direction: column;flex: 1;+ flex-direction: column;`;const StyledCodeEditorWrapper = styled.div`@@ -31,7 +31,6 @@ const StyledInfoContainer = styled.div`const StyledOutput = styled.div<{ accent?: OutputAccent }>`align-items: center;- gap: ${themeCssVariables.spacing[1]};color: ${({ accent }) =>accent === 'success'? themeCssVariables.color.turquoise@@ -39,13 +38,14 @@ const StyledOutput = styled.div<{ accent?: OutputAccent }>`? themeCssVariables.color.red: themeCssVariables.font.color.secondary};display: flex;+ gap: ${themeCssVariables.spacing[1]};`;const StyledStatusInfo = styled.div`+ color: ${themeCssVariables.font.color.tertiary};display: flex;- gap: ${themeCssVariables.spacing[2]};font-size: ${themeCssVariables.font.size.sm};- color: ${themeCssVariables.font.color.tertiary};+ gap: ${themeCssVariables.spacing[2]};`;export type ExecutionStatus = {diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsxindex 2afcf48c659..043e522c0b6 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsx@@ -65,9 +65,9 @@ import { Tag, type TagColor } from 'twenty-ui/components';import { useStore } from 'jotai';import { themeCssVariables, ThemeContext } from 'twenty-ui/theme-constants';const StyledResetReactflowStyles = styled.div`- height: 100%;- width: 100%;- position: relative;+ --xy-node-background-color: none;+ --xy-node-border: none;+ --xy-node-border-radius: none;/* Below we reset the default styling of Reactflow */.react-flow__node-input,@@ -75,23 +75,23 @@ const StyledResetReactflowStyles = styled.div`.react-flow__node-output,.react-flow__node-group {padding: 0;- width: auto;text-align: start;white-space: nowrap;+ width: auto;}- --xy-node-border-radius: none;- --xy-node-border: none;- --xy-node-background-color: none;--xy-node-boxshadow-hover: none;--xy-node-boxshadow-selected: none;+ height: 100%;+ position: relative;+ width: 100%;`;const StyledStatusTagContainer = styled.div`left: 0;- top: 0;- position: absolute;padding: ${themeCssVariables.spacing[4]};+ position: absolute;+ top: 0;`;const defaultFitViewOptions = {diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramRightClickCommandMenu.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramRightClickCommandMenu.tsxindex 75b69d30bd0..d5ad814177e 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramRightClickCommandMenu.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramRightClickCommandMenu.tsx@@ -15,8 +15,8 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div<{ x: number; y: number }>`background: ${themeCssVariables.background.primary};- box-shadow: ${themeCssVariables.boxShadow.strong};border-radius: ${themeCssVariables.spacing[2]};+ box-shadow: ${themeCssVariables.boxShadow.strong};display: flex;flex-direction: column;gap: ${themeCssVariables.spacing[0.5]};diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeLabelContainer.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeLabelContainer.tsxindex 58a36e10733..dd5280b9e76 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeLabelContainer.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeLabelContainer.tsx@@ -10,8 +10,6 @@ const StyledWorkflowDiagramEdgeLabelContainer = styled.div<{centerY?: number;}>`position: absolute;- width: fit-content;-transform: ${({ position, sourceX, sourceY, centerX, centerY }) => {if (isDefined(centerX) && isDefined(centerY)) {return `translate(-50%, -50%) translate(${centerX}px, ${centerY}px)`;@@ -25,6 +23,8 @@ const StyledWorkflowDiagramEdgeLabelContainer = styled.div<{return 'none';}}};++ width: fit-content;`;export { StyledWorkflowDiagramEdgeLabelContainer as WorkflowDiagramEdgeLabelContainer };diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeV2Container.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeV2Container.tsxindex ec220df3189..bf6bc522ee0 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeV2Container.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeV2Container.tsx@@ -4,9 +4,9 @@ import { styled } from '@linaria/react';const StyledContainer = styled.div<{ labelX: number; labelY: number }>`padding: ${themeCssVariables.spacing[1]};pointer-events: all;+ position: absolute;transform: ${({ labelX, labelY }) =>`translate(-50%, -50%) translate(${labelX}px, ${labelY}px)`};- position: absolute;`;export { StyledContainer as WorkflowDiagramEdgeV2Container };diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramHandleSource.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramHandleSource.tsxindex 19e292c4d1a..22dcd972cc3 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramHandleSource.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramHandleSource.tsx@@ -11,28 +11,28 @@ const HANDLE_SCALE_ON_HOVER = 1.5;const StyledHandleContainer = styled.div`& .react-flow__handle {- height: ${NODE_HANDLE_HEIGHT_PX}px;- width: ${NODE_HANDLE_WIDTH_PX}px;- opacity: var(--handle-opacity, 1);background: var(--handle-bg);border-color: var(--handle-border-color);+ height: ${NODE_HANDLE_HEIGHT_PX}px;+ opacity: var(--handle-opacity, 1);transform: var(--handle-transform);transform-origin: var(--handle-transform-origin);+ transition:+ transform 0.1s ease-out,+ background 0.1s,+ border-color 0.1s;&::after {content: '';+ height: calc(100% + ${themeCssVariables.spacing[4]});+ left: 50%;position: absolute;top: 50%;- left: 50%;transform: translate(-50%, -50%);width: calc(100% + ${themeCssVariables.spacing[4]});- height: calc(100% + ${themeCssVariables.spacing[4]});}- transition:- transform 0.1s ease-out,- background 0.1s,- border-color 0.1s;+ width: ${NODE_HANDLE_WIDTH_PX}px;z-index: 1;&.connectionindicator {diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramHandleTarget.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramHandleTarget.tsxindex 623aac170b0..fc7ee828018 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramHandleTarget.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramHandleTarget.tsx@@ -9,14 +9,14 @@ type WorkflowDiagramHandleTargetProps = {const StyledHandleContainer = styled.div`& .react-flow__handle {- opacity: 0;- z-index: 1;border-radius: ${themeCssVariables.border.radius.md};- width: 100%;height: 100%;left: 0;+ opacity: 0;top: 0;transform: translate(-1px, -5px);+ width: 100%;+ z-index: 1;&.connectionindicator {cursor: pointer;diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramStepNodeEditableContent.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramStepNodeEditableContent.tsxindex 5bba47c5b90..8c1a063fcf2 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramStepNodeEditableContent.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramStepNodeEditableContent.tsx@@ -28,14 +28,14 @@ import { capitalize, isDefined } from 'twenty-shared/utils';const StyledAddStepButtonContainer = styled.div<{shouldDisplay: boolean;}>`- display: flex;align-items: center;- position: absolute;- justify-content: center;+ bottom: 0;+ display: flex;flex-direction: column;- opacity: ${({ shouldDisplay }) => (shouldDisplay ? 1 : 0)};+ justify-content: center;left: 50%;- bottom: 0;+ opacity: ${({ shouldDisplay }) => (shouldDisplay ? 1 : 0)};+ position: absolute;transform: translateX(-50%) translateY(100%);`;diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeContainer.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeContainer.tsxindex 4f59d0d15f0..9dcac2344a6 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeContainer.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeContainer.tsx@@ -9,30 +9,30 @@ const StyledNodeContainer = styled.div<{selected: boolean;}>`align-items: center;- display: flex;- gap: ${themeCssVariables.spacing[2]};- max-width: 240px;- min-width: 44px;- padding: ${themeCssVariables.spacing[2]};- border-radius: ${themeCssVariables.border.radius.md};- border-width: 1px;- border-style: solid;- box-sizing: border-box;- cursor: pointer;- position: relative;- transition: border-color 0.1s;-background: ${({ runStatus, selected }) => {const colors = getWorkflowDiagramColors({ runStatus });return selected ? colors.selected.background : colors.unselected.background;}};-border-color: ${({ runStatus, selected }) => {const colors = getWorkflowDiagramColors({ runStatus });return selected? colors.selected.borderColor: colors.unselected.borderColor;}};+ border-radius: ${themeCssVariables.border.radius.md};+ border-style: solid;+ border-width: 1px;+ box-sizing: border-box;+ cursor: pointer;+ display: flex;+ gap: ${themeCssVariables.spacing[2]};+ max-width: 240px;+ min-width: 44px;+ padding: ${themeCssVariables.spacing[2]};++ position: relative;++ transition: border-color 0.1s;&:hover {background: ${({ runStatus, selected }) => {diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeLabelWithCounterPart.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeLabelWithCounterPart.tsxindex 1013a8c598d..a847b0f19d7 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeLabelWithCounterPart.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeLabelWithCounterPart.tsx@@ -3,10 +3,10 @@ import { styled } from '@linaria/react';const StyledNodeLabelWithCounterPart = styled.div`align-items: center;align-self: stretch;+ box-sizing: border-box;display: flex;height: 14px;justify-content: space-between;- box-sizing: border-box;`;export { StyledNodeLabelWithCounterPart as WorkflowNodeLabelWithCounterPart };diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeRightPart.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeRightPart.tsxindex 155713fdde1..171d035771d 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeRightPart.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeRightPart.tsx@@ -3,11 +3,11 @@ import { styled } from '@linaria/react';const StyledNodeRightPart = styled.div`align-items: flex-start;align-self: stretch;+ box-sizing: border-box;display: flex;flex-direction: column;justify-content: space-between;max-width: 184px;- box-sizing: border-box;`;export { StyledNodeRightPart as WorkflowNodeRightPart };diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowRunDiagramStepNode.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowRunDiagramStepNode.tsxindex 2384ac53e77..7b50a752fc8 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowRunDiagramStepNode.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowRunDiagramStepNode.tsx@@ -35,32 +35,32 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledNodeLabelWithCounterPart = styled.div`align-items: center;align-self: stretch;+ box-sizing: border-box;+ column-gap: ${themeCssVariables.spacing[2]};display: flex;height: 14px;justify-content: space-between;- box-sizing: border-box;- column-gap: ${themeCssVariables.spacing[2]};`;const StyledStatusIconsContainer = styled.div`align-items: center;+ box-sizing: border-box;display: flex;gap: ${themeCssVariables.spacing[1]};justify-content: flex-end;- box-sizing: border-box;`;const StyledColorIcon = styled.div<{color: string;}>`align-items: center;+ background: ${({ color }) => color};border-radius: ${themeCssVariables.border.radius.sm};box-sizing: border-box;display: flex;height: 14px;justify-content: center;width: 14px;- background: ${({ color }) => color};`;const StyledIterationCounter = styled.div<{diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/components/SidePanelWorkflowSelectStepTitle.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/components/SidePanelWorkflowSelectStepTitle.tsxindex f30935614b6..153e448db87 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/components/SidePanelWorkflowSelectStepTitle.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/components/SidePanelWorkflowSelectStepTitle.tsx@@ -5,10 +5,10 @@ const StyledSelectStepTitle = styled.span`color: ${themeCssVariables.font.color.tertiary};font-size: ${themeCssVariables.font.size.sm};font-weight: ${themeCssVariables.font.weight.medium};- padding-top: ${themeCssVariables.spacing[2]};padding-bottom: ${themeCssVariables.spacing[1]};padding-left: ${themeCssVariables.spacing[1]};padding-right: ${themeCssVariables.spacing[1]};+ padding-top: ${themeCssVariables.spacing[2]};`;export { StyledSelectStepTitle as SidePanelWorkflowSelectStepTitle };diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepBody.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepBody.tsxindex 77dd58f8782..e934a1339e2 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepBody.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepBody.tsx@@ -16,6 +16,7 @@ const StyledWorkflowStepBody = styled.div<{display: ${({ display }) => display ?? 'flex'};flex: 1 1 auto;flex-direction: column;+ grid-template-rows: ${({ gridTemplateRows }) => gridTemplateRows ?? 'none'};height: 100%;overflow: ${({ overflow }) => overflow ?? 'hidden scroll'};padding-block: ${({ paddingBlock }) =>@@ -23,7 +24,6 @@ const StyledWorkflowStepBody = styled.div<{padding-inline: ${({ paddingInline }) =>paddingInline ?? themeCssVariables.spacing[3]};row-gap: ${({ rowGap }) => rowGap ?? themeCssVariables.spacing[4]};- grid-template-rows: ${({ gridTemplateRows }) => gridTemplateRows ?? 'none'};`;export const WorkflowStepBody = ({diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterColumn.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterColumn.tsxindex e86038bbfd6..602eafd0884 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterColumn.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterColumn.tsx@@ -22,8 +22,8 @@ type WorkflowStepFilterColumnProps = {const StyledContainer = styled.div`display: flex;flex-direction: row;- justify-content: space-between;gap: ${themeCssVariables.spacing[1]};+ justify-content: space-between;`;export const WorkflowStepFilterColumn = ({diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterGroupColumn.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterGroupColumn.tsxindex f227d7471ca..30045f159d7 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterGroupColumn.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterGroupColumn.tsx@@ -17,8 +17,8 @@ type WorkflowStepFilterGroupColumnProps = {const StyledContainer = styled.div`display: flex;flex-direction: row;- justify-content: space-between;gap: ${themeCssVariables.spacing[1]};+ justify-content: space-between;`;export const WorkflowStepFilterGroupColumn = ({diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterLogicalOperatorCell.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterLogicalOperatorCell.tsxindex 1a5758498a3..6cfc6d3dd2c 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterLogicalOperatorCell.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterLogicalOperatorCell.tsx@@ -25,9 +25,9 @@ const StyledNumber = styled.span`const StyledContainer = styled.div`align-items: start;+ color: ${themeCssVariables.font.color.tertiary};display: flex;min-width: ${themeCssVariables.spacing[20]};- color: ${themeCssVariables.font.color.tertiary};`;type WorkflowStepFilterLogicalOperatorCellProps = {diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsStyles.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsStyles.tsxindex fd57e083b36..e19d9bf2cb1 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsStyles.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsStyles.tsx@@ -20,15 +20,15 @@ export const StyledLabel = ({ children }: { children: React.ReactNode }) => (export const StyledRow = styled.div<{ isDisabled?: boolean }>`align-items: center;- display: flex;- justify-content: space-between;- width: 100%;- padding: ${themeCssVariables.spacing[1]};- box-sizing: border-box;border-radius: ${themeCssVariables.spacing[1]};+ box-sizing: border-box;cursor: ${({ isDisabled }) => (isDisabled ? 'not-allowed' : 'pointer')};+ display: flex;+ justify-content: space-between;opacity: ${({ isDisabled }) => (isDisabled ? 0.5 : 1)};+ padding: ${themeCssVariables.spacing[1]};pointer-events: ${({ isDisabled }) => (isDisabled ? 'none' : 'auto')};+ width: 100%;:hover {background-color: ${({ isDisabled }) =>@@ -59,13 +59,13 @@ export const StyledList = styled.div``;export const StyledIconContainer = styled.div`+ align-items: center;background-color: ${themeCssVariables.background.tertiary};- padding: ${themeCssVariables.spacing[1]};border-radius: ${themeCssVariables.spacing[1]};+ color: ${themeCssVariables.font.color.tertiary};display: flex;justify-content: center;- align-items: center;- color: ${themeCssVariables.font.color.tertiary};+ padding: ${themeCssVariables.spacing[1]};`;const StyledIconChevronRightWrapper = styled.div`diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsTab.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsTab.tsxindex 7722d3b971b..13283485e63 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsTab.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsTab.tsx@@ -27,14 +27,14 @@ import { WorkflowAiAgentPermissionsObjectsList } from './WorkflowAiAgentPermissiimport { getFilteredPermissions } from './workflowAiAgentPermissions.utils';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledSearchInputContainer = styled.div`- width: 100%;- height: 40px;border-block: 1px solid ${themeCssVariables.border.color.medium};+ height: 40px;+ width: 100%;& input {- height: 40px;- line-height: 40px;border: none;border-radius: 0;+ height: 40px;+ line-height: 40px;width: 100%;}`;@@ -44,7 +44,6 @@ const StyledBackButtonText = styled.span``;const StyledBackButton = styled.button`- width: 100%;align-items: center;background: none;border: none;@@ -54,6 +53,7 @@ const StyledBackButton = styled.button`gap: ${themeCssVariables.spacing[1]};padding: ${themeCssVariables.spacing[3]};text-align: left;+ width: 100%;&:hover {color: ${themeCssVariables.font.color.primary};diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowOutputSchemaBuilder.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowOutputSchemaBuilder.tsxindex ce8faecee03..b17fdefb447 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowOutputSchemaBuilder.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowOutputSchemaBuilder.tsx@@ -48,10 +48,10 @@ const StyledSettingsHeader = styled.div`border-bottom: 1px solid ${themeCssVariables.border.color.light};display: grid;gap: ${themeCssVariables.spacing[1]};- padding-right: ${themeCssVariables.spacing[2]};- padding-left: ${themeCssVariables.spacing[3]};grid-template-columns: 1fr 24px;padding-bottom: ${themeCssVariables.spacing[2]};+ padding-left: ${themeCssVariables.spacing[3]};+ padding-right: ${themeCssVariables.spacing[2]};`;const StyledTitleContainer = styled.div`@@ -68,6 +68,7 @@ const StyledCloseButtonContainer = styled.div`const StyledAddFieldButton = styled.button`align-items: center;+ background-color: ${themeCssVariables.background.transparent.lighter};border: 1px solid ${themeCssVariables.border.color.light};border-radius: ${themeCssVariables.border.radius.sm};color: ${themeCssVariables.font.color.secondary};@@ -80,7 +81,6 @@ const StyledAddFieldButton = styled.button`margin-top: ${themeCssVariables.spacing[2]};padding: ${themeCssVariables.spacing[2]};width: 100%;- background-color: ${themeCssVariables.background.transparent.lighter};&:hover {background-color: ${themeCssVariables.background.transparent.light};@@ -88,12 +88,12 @@ const StyledAddFieldButton = styled.button``;const StyledMessageContentContainer = styled.div`- flex-direction: column;color: ${themeCssVariables.font.color.secondary};display: flex;+ flex-direction: column;gap: ${themeCssVariables.spacing[4]};- padding: ${themeCssVariables.spacing[4]};line-height: normal;+ padding: ${themeCssVariables.spacing[4]};`;const StyledMessageDescription = styled.div`diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowCodeEditor.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowCodeEditor.tsxindex e61c0b37fc3..60d8c5a1315 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowCodeEditor.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowCodeEditor.tsx@@ -11,17 +11,17 @@ const CODE_EDITOR_MIN_HEIGHT = 343;const StyledCodeEditorContainer = styled.div`display: flex;- flex-direction: column;- position: relative;flex: 1;+ flex-direction: column;min-height: ${CODE_EDITOR_MIN_HEIGHT}px;overflow: hidden;+ position: relative;`;const StyledFullScreenButtonContainer = styled.div`position: absolute;- top: ${themeCssVariables.spacing[2]};right: ${themeCssVariables.spacing[2]};+ top: ${themeCssVariables.spacing[2]};z-index: 1;`;diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowEditActionCodeFields.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowEditActionCodeFields.tsxindex ee6cee406bb..45064647c64 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowEditActionCodeFields.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowEditActionCodeFields.tsx@@ -10,8 +10,8 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div<{ fullWidth?: boolean }>`display: flex;- gap: ${themeCssVariables.spacing[3]};flex-wrap: wrap;+ gap: ${themeCssVariables.spacing[3]};> * {flex: 1;diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormBuilder.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormBuilder.tsxindex a3856ac9e66..961751f8152 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormBuilder.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormBuilder.tsx@@ -61,10 +61,10 @@ const StyledFormFieldContainer = styled.div``;const StyledDraggingIndicator = styled.div`- position: absolute;+ background-color: ${themeCssVariables.background.transparent.light};inset: -8px;+ position: absolute;top: -4px;- background-color: ${themeCssVariables.background.transparent.light};`;const StyledGripButtonContainer = styled.div`@@ -95,13 +95,13 @@ const StyledFieldContainer = styled.div<{align-items: center;background: transparent;border: none;+ cursor: ${({ readonly }) => (readonly ? 'default' : 'pointer')};display: flex;font-family: inherit;padding-left: ${themeCssVariables.spacing[2]};padding-right: ${themeCssVariables.spacing[2]};- width: 100%;- cursor: ${({ readonly }) => (readonly ? 'default' : 'pointer')};+ width: 100%;&:hover,&[data-open='true'] {diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormFieldSettings.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormFieldSettings.tsxindex bf7320ca7d5..eaf4d827b2e 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormFieldSettings.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormFieldSettings.tsx@@ -39,10 +39,10 @@ const StyledSettingsHeader = styled.div`border-bottom: 1px solid ${themeCssVariables.border.color.light};display: grid;gap: ${themeCssVariables.spacing[1]};- padding-right: ${themeCssVariables.spacing[2]};- padding-left: ${themeCssVariables.spacing[3]};grid-template-columns: 1fr 24px;padding-bottom: ${themeCssVariables.spacing[2]};+ padding-left: ${themeCssVariables.spacing[3]};+ padding-right: ${themeCssVariables.spacing[2]};`;const StyledTitleContainer = styled.div`diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/WorkflowEditActionHttpRequest.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/WorkflowEditActionHttpRequest.tsxindex b7876757ca0..df0b74104c0 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/WorkflowEditActionHttpRequest.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/WorkflowEditActionHttpRequest.tsx@@ -46,8 +46,8 @@ const StyledTabListContainer = styled.div`const StyledTestTabContent = styled.div`display: flex;- flex-direction: column;flex: 1;+ flex-direction: column;gap: ${themeCssVariables.spacing[4]};height: 100%;min-height: 400px;@@ -55,26 +55,26 @@ const StyledTestTabContent = styled.div`const StyledConfigurationTabContent = styled.div`display: flex;+ flex: 1;flex-direction: column;gap: ${themeCssVariables.spacing[4]};height: 100%;- flex: 1;`;const StyledFullHeightFormRawJsonFieldInputContainer = styled.div`- flex: 1;display: flex;+ flex: 1;flex-direction: column;& > div:last-child {- flex: 1;display: flex;+ flex: 1;flex-direction: column;& > div {flex: 1;- max-height: none !important;height: 100%;+ max-height: none !important;& > div {height: 100%;diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/iterator-action/components/WorkflowIteratorSubStepSwitcher.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/iterator-action/components/WorkflowIteratorSubStepSwitcher.tsxindex 2abda4e6f5b..e3fd7efebd0 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/iterator-action/components/WorkflowIteratorSubStepSwitcher.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/iterator-action/components/WorkflowIteratorSubStepSwitcher.tsx@@ -14,8 +14,8 @@ import { IconButton } from 'twenty-ui/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`- display: flex;align-items: center;+ display: flex;justify-content: space-between;padding-block: ${themeCssVariables.spacing[2]};padding-inline: ${themeCssVariables.spacing[3]};diff --git a/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablePicker.tsx b/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablePicker.tsxindex 755504346c6..c20681ba9ce 100644--- a/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablePicker.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablePicker.tsx@@ -8,21 +8,21 @@ const StyledSearchVariablesDropdownContainer = styled.div<{isReadonly?: boolean;}>`align-items: center;- display: flex;- justify-content: center;-background-color: ${({ multiline }) =>multiline? 'transparent': themeCssVariables.background.transparent.lighter};+ border: ${({ multiline }) =>+ multiline ? 'none' : `1px solid ${themeCssVariables.border.color.medium}`};border-radius: ${({ multiline }) =>multiline? themeCssVariables.border.radius.sm: `0 ${themeCssVariables.border.radius.sm} ${themeCssVariables.border.radius.sm} 0`};- border: ${({ multiline }) =>- multiline ? 'none' : `1px solid ${themeCssVariables.border.color.medium}`};+ display: flex;++ justify-content: center;padding: ${({ multiline }) =>multilinediff --git a/packages/twenty-front/src/modules/workspace/components/WorkspaceInviteTeam.tsx b/packages/twenty-front/src/modules/workspace/components/WorkspaceInviteTeam.tsxindex a7da2d9e5db..a4f5b34eaf9 100644--- a/packages/twenty-front/src/modules/workspace/components/WorkspaceInviteTeam.tsx+++ b/packages/twenty-front/src/modules/workspace/components/WorkspaceInviteTeam.tsx@@ -25,9 +25,9 @@ import { Button } from 'twenty-ui/input';import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`+ align-items: center;display: flex;flex-direction: row;- align-items: center;gap: ${themeCssVariables.spacing[2]};padding-bottom: ${themeCssVariables.spacing[3]};diff --git a/packages/twenty-front/src/pages/auth/Authorize.tsx b/packages/twenty-front/src/pages/auth/Authorize.tsxindex 99ceaf142a5..f19d7912294 100644--- a/packages/twenty-front/src/pages/auth/Authorize.tsx+++ b/packages/twenty-front/src/pages/auth/Authorize.tsx@@ -17,8 +17,8 @@ import { useAuthorizeAppMutation } from '~/generated-metadata/graphql';import { useNavigateApp } from '~/hooks/useNavigateApp';const StyledContainer = styled.div`- display: flex;align-items: center;+ display: flex;flex-direction: column;height: 100dvh;justify-content: center;@@ -42,36 +42,36 @@ const StyledText = styled.div``;const StyledCardWrapper = styled.div`- display: flex;+ align-items: center;background-color: ${themeCssVariables.background.primary};+ border-radius: ${themeCssVariables.border.radius.md};+ box-shadow: ${themeCssVariables.boxShadow.strong};+ display: flex;flex-direction: column;- align-items: center;justify-content: center;- width: 400px;padding: ${themeCssVariables.spacing[6]};- box-shadow: ${themeCssVariables.boxShadow.strong};- border-radius: ${themeCssVariables.border.radius.md};+ width: 400px;`;const StyledButtonContainer = styled.div`display: grid;- grid-template-columns: 1fr 1fr;gap: 10px;+ grid-template-columns: 1fr 1fr;width: 100%;`;const StyledScopeList = styled.ul`list-style: none;- padding: 0;margin: 0 0 ${themeCssVariables.spacing[4]} 0;+ padding: 0;width: 100%;`;const StyledScopeItem = styled.li`+ border-bottom: 1px solid ${themeCssVariables.border.color.light};color: ${themeCssVariables.font.color.secondary};font-size: ${themeCssVariables.font.size.md};padding: ${themeCssVariables.spacing[1]} 0;- border-bottom: 1px solid ${themeCssVariables.border.color.light};&:last-child {border-bottom: none;@@ -81,8 +81,8 @@ const StyledScopeItem = styled.li`const StyledErrorText = styled.div`color: ${themeCssVariables.color.red};font-size: ${themeCssVariables.font.size.sm};- text-align: center;padding: ${themeCssVariables.spacing[2]} 0;+ text-align: center;width: 100%;`;diff --git a/packages/twenty-front/src/pages/auth/PasswordReset.tsx b/packages/twenty-front/src/pages/auth/PasswordReset.tsxindex 6ff87c90566..1a93f3c22fc 100644--- a/packages/twenty-front/src/pages/auth/PasswordReset.tsx+++ b/packages/twenty-front/src/pages/auth/PasswordReset.tsx@@ -53,10 +53,10 @@ const validationSchema = ztype Form = z.infer<typeof validationSchema>;const StyledMainContainer = styled.div`- display: flex;- justify-content: flex-start;align-items: center;+ display: flex;flex-direction: column;+ justify-content: flex-start;width: 100%;`;diff --git a/packages/twenty-front/src/pages/auth/SignInUp.tsx b/packages/twenty-front/src/pages/auth/SignInUp.tsxindex f76b5c492a3..cdf82df670b 100644--- a/packages/twenty-front/src/pages/auth/SignInUp.tsx+++ b/packages/twenty-front/src/pages/auth/SignInUp.tsx@@ -42,9 +42,9 @@ const StyledLoaderContainer = styled.div`align-items: center;display: flex;justify-content: center;+ margin-bottom: ${themeCssVariables.spacing[8]};margin-top: ${themeCssVariables.spacing[8]};width: 100%;- margin-bottom: ${themeCssVariables.spacing[8]};`;const StandardContent = ({diff --git a/packages/twenty-front/src/pages/onboarding/CreateWorkspace.tsx b/packages/twenty-front/src/pages/onboarding/CreateWorkspace.tsxindex 3ac470db81f..f85e21497cd 100644--- a/packages/twenty-front/src/pages/onboarding/CreateWorkspace.tsx+++ b/packages/twenty-front/src/pages/onboarding/CreateWorkspace.tsx@@ -44,9 +44,9 @@ const StyledLoaderContainer = styled.div`align-items: center;display: flex;justify-content: center;+ margin-bottom: ${themeCssVariables.spacing[8]};margin-top: ${themeCssVariables.spacing[8]};width: 100%;- margin-bottom: ${themeCssVariables.spacing[8]};`;enum PendingCreationLoaderStep {@@ -57,10 +57,10 @@ enum PendingCreationLoaderStep {}const StyledPendingCreationLoader = styled.div`- width: 100%;+ align-items: center;display: flex;justify-content: center;- align-items: center;+ width: 100%;`;export const CreateWorkspace = () => {diff --git a/packages/twenty-front/src/pages/onboarding/InviteTeam.tsx b/packages/twenty-front/src/pages/onboarding/InviteTeam.tsxindex e49664fceb6..f3fa2cdd433 100644--- a/packages/twenty-front/src/pages/onboarding/InviteTeam.tsx+++ b/packages/twenty-front/src/pages/onboarding/InviteTeam.tsx@@ -32,10 +32,10 @@ import { useCreateWorkspaceInvitation } from '@/workspace-invitation/hooks/useCrconst StyledAnimatedContainer = styled.div`display: flex;flex-direction: column;- padding: ${themeCssVariables.spacing[8]} 0;gap: ${themeCssVariables.spacing[4]};- overflow-y: scroll;overflow-x: hidden;+ overflow-y: scroll;+ padding: ${themeCssVariables.spacing[8]} 0;width: 100%;`;diff --git a/packages/twenty-front/src/pages/onboarding/PaymentSuccess.tsx b/packages/twenty-front/src/pages/onboarding/PaymentSuccess.tsxindex 5e6432190b0..f299088f44d 100644--- a/packages/twenty-front/src/pages/onboarding/PaymentSuccess.tsx+++ b/packages/twenty-front/src/pages/onboarding/PaymentSuccess.tsx@@ -18,9 +18,9 @@ import { useGetCurrentUserLazyQuery } from '~/generated-metadata/graphql';import { useNavigateApp } from '~/hooks/useNavigateApp';const StyledTitleContainer = styled.div`+ align-items: center;display: flex;flex-direction: column;- align-items: center;text-align: center;`;diff --git a/packages/twenty-front/src/pages/onboarding/SyncEmails.tsx b/packages/twenty-front/src/pages/onboarding/SyncEmails.tsxindex ba460aa77b3..12feb9ceb2a 100644--- a/packages/twenty-front/src/pages/onboarding/SyncEmails.tsx+++ b/packages/twenty-front/src/pages/onboarding/SyncEmails.tsx@@ -34,9 +34,9 @@ import { AuthenticatedMethod } from '@/auth/types/AuthenticatedMethod.enum';const StyledSyncEmailsContainer = styled.div`display: flex;flex-direction: row;- width: 100%;- margin: ${themeCssVariables.spacing[8]} 0;gap: ${themeCssVariables.spacing[2]};+ margin: ${themeCssVariables.spacing[8]} 0;+ width: 100%;`;const StyledActionLinkContainer = styled.div`diff --git a/packages/twenty-front/src/pages/onboarding/internal/ChooseYourPlanContent.tsx b/packages/twenty-front/src/pages/onboarding/internal/ChooseYourPlanContent.tsxindex eb25ee883c1..e8980075e57 100644--- a/packages/twenty-front/src/pages/onboarding/internal/ChooseYourPlanContent.tsx+++ b/packages/twenty-front/src/pages/onboarding/internal/ChooseYourPlanContent.tsx@@ -53,27 +53,27 @@ const StyledBenefitsContainer = styled.div`box-sizing: border-box;display: flex;flex-direction: column;- width: 100%;gap: 16px;padding: ${themeCssVariables.spacing[4]} ${themeCssVariables.spacing[3]};+ width: 100%;`;const StyledOrganizationBenefitsContainer = styled.div`+ border-bottom: 1px solid ${themeCssVariables.border.color.light};box-sizing: border-box;display: flex;flex-direction: column;- width: 100%;gap: 16px;padding: ${themeCssVariables.spacing[4]} ${themeCssVariables.spacing[3]};- border-bottom: 1px solid ${themeCssVariables.border.color.light};+ width: 100%;`;const StyledChooseTrialContainer = styled.div`display: flex;flex-direction: row;- width: 100%;- margin-bottom: ${themeCssVariables.spacing[8]};gap: ${themeCssVariables.spacing[2]};+ margin-bottom: ${themeCssVariables.spacing[8]};+ width: 100%;`;const StyledLinkGroup = styled.div`diff --git a/packages/twenty-front/src/pages/settings/SettingsTwoFactorAuthenticationMethod.tsx b/packages/twenty-front/src/pages/settings/SettingsTwoFactorAuthenticationMethod.tsxindex 602d4e3af36..d71b6f904c9 100644--- a/packages/twenty-front/src/pages/settings/SettingsTwoFactorAuthenticationMethod.tsx+++ b/packages/twenty-front/src/pages/settings/SettingsTwoFactorAuthenticationMethod.tsx@@ -23,11 +23,11 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';const StyledQRCodeContainer = styled.div`- margin: ${themeCssVariables.spacing[4]} 0;+ align-items: flex-start;display: flex;flex-direction: column;- align-items: flex-start;gap: ${themeCssVariables.spacing[3]};+ margin: ${themeCssVariables.spacing[4]} 0;`;const StyledQRCodeWrapper = styled.div`@@ -52,8 +52,8 @@ const StyledQRCodeSizer = styled.div`const StyledCopySetupKeyText = styled.div`color: ${themeCssVariables.font.color.tertiary};font-size: ${themeCssVariables.font.size.sm};- text-align: left;line-height: 1.5;+ text-align: left;`;const StyledCopySetupKeyLink = styled.button`@@ -63,9 +63,9 @@ const StyledCopySetupKeyLink = styled.button`cursor: pointer;display: inline;font-size: ${themeCssVariables.font.size.sm};+ margin-left: 0;padding: 0;text-decoration: underline;- margin-left: 0;&:hover {color: ${themeCssVariables.font.color.secondary};diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsxindex eb36bf028bd..61e640a80aa 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx@@ -38,8 +38,8 @@ const StyledH3TitleContainer = styled.div``;const StyledRow = styled.div`- display: flex;align-items: flex-end;+ display: flex;gap: ${themeCssVariables.spacing[2]};`;diff --git a/packages/twenty-front/src/pages/settings/ai/SettingsSkillForm.tsx b/packages/twenty-front/src/pages/settings/ai/SettingsSkillForm.tsxindex e94f399ce98..577d9090e20 100644--- a/packages/twenty-front/src/pages/settings/ai/SettingsSkillForm.tsx+++ b/packages/twenty-front/src/pages/settings/ai/SettingsSkillForm.tsx@@ -78,10 +78,10 @@ const StyledAdvancedSettingsContainer = styled.div`const StyledHeaderTitle = styled.div`color: ${themeCssVariables.font.color.primary};- font-weight: ${themeCssVariables.font.weight.semiBold};font-size: ${themeCssVariables.font.size.lg};- width: fit-content;+ font-weight: ${themeCssVariables.font.weight.semiBold};max-width: 420px;+ width: fit-content;& > input:disabled {color: ${themeCssVariables.font.color.primary};}diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAIMCP.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAIMCP.tsxindex edeef5d5a3d..7ffcc58caac 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAIMCP.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAIMCP.tsx@@ -15,8 +15,8 @@ const StyledWrapper = styled.div`const StyledCopyButton = styled.div`position: absolute;- top: ${themeCssVariables.spacing[3]};right: ${themeCssVariables.spacing[3]};+ top: ${themeCssVariables.spacing[3]};z-index: 1;`;diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentModelCapabilities.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentModelCapabilities.tsxindex 71796c694da..f1fd4604dc8 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentModelCapabilities.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentModelCapabilities.tsx@@ -11,14 +11,14 @@ import { useContext } from 'react';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledCheckboxContainer = styled.div<{ disabled: boolean }>`- display: flex;align-items: center;+ border-radius: ${themeCssVariables.border.radius.sm};+ cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};+ display: flex;justify-content: space-between;padding: ${themeCssVariables.spacing[1]};- border-radius: ${themeCssVariables.border.radius.sm};transition: background-colorcalc(${themeCssVariables.animation.duration.normal} * 1s) ease;- cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};&:hover {background-color: ${({ disabled }) =>@@ -29,8 +29,8 @@ const StyledCheckboxContainer = styled.div<{ disabled: boolean }>``;const StyledCheckboxLabel = styled.div`- display: flex;align-items: center;+ display: flex;gap: ${themeCssVariables.spacing[1]};`;diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillsTable.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillsTable.tsxindex bfa26638c08..a524780862f 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillsTable.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillsTable.tsx@@ -37,9 +37,9 @@ import { normalizeSearchText } from '~/utils/normalizeSearchText';import { SettingsSkillTableRow } from './SettingsSkillTableRow';const StyledSearchAndFilterContainer = styled.div`+ align-items: center;display: flex;gap: ${themeCssVariables.spacing[2]};- align-items: center;padding-bottom: ${themeCssVariables.spacing[2]};`;diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsToolsTable.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsToolsTable.tsxindex 6467a5e5fbd..670b4957d9b 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsToolsTable.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsToolsTable.tsx@@ -33,9 +33,9 @@ import {} from './SettingsToolTableRow';const StyledSearchAndFilterContainer = styled.div`+ align-items: center;display: flex;gap: ${themeCssVariables.spacing[2]};- align-items: center;padding-bottom: ${themeCssVariables.spacing[2]};`;diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationRegistrationDetails.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationRegistrationDetails.tsxindex bcf711a6cbb..8c4b7f28c5d 100644--- a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationRegistrationDetails.tsx+++ b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationRegistrationDetails.tsx@@ -104,8 +104,8 @@ const StyledVariableRow = styled.div``;const StyledVariableInfo = styled.div`- flex: 1;display: flex;+ flex: 1;flex-direction: column;gap: ${themeCssVariables.spacing['0.5']};`;diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectDetailPage.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectDetailPage.tsxindex 00e21f550ca..cf5fd512321 100644--- a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectDetailPage.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectDetailPage.tsx@@ -37,8 +37,8 @@ import { updatedObjectNamePluralState } from '~/pages/settings/data-model/statesconst StyledContentContainer = styled.div`flex: 1;- width: 100%;padding-left: 0;+ width: 100%;`;export const SettingsObjectDetailPage = () => {diff --git a/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsApiKeys.tsx b/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsApiKeys.tsxindex 0cf0975dda5..be03453ff1e 100644--- a/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsApiKeys.tsx+++ b/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsApiKeys.tsx@@ -24,8 +24,8 @@ const StyledButtonContainer = styled.div`const StyledContainer = styled.div`display: flex;flex-direction: column;- overflow: visible;gap: ${themeCssVariables.spacing[2]};+ overflow: visible;`;export const SettingsApiKeys = () => {diff --git a/packages/twenty-front/src/pages/settings/developers/webhooks/components/SettingsWebhooks.tsx b/packages/twenty-front/src/pages/settings/developers/webhooks/components/SettingsWebhooks.tsxindex 9b3973b08fd..7b54e84d400 100644--- a/packages/twenty-front/src/pages/settings/developers/webhooks/components/SettingsWebhooks.tsx+++ b/packages/twenty-front/src/pages/settings/developers/webhooks/components/SettingsWebhooks.tsx@@ -23,8 +23,8 @@ const StyledButtonContainer = styled.div`const StyledContainer = styled.div<{ isMobile: boolean }>`display: flex;flex-direction: column;- overflow: hidden;gap: ${themeCssVariables.spacing[2]};+ overflow: hidden;`;export const SettingsWebhooks = () => {diff --git a/packages/twenty-front/src/pages/settings/members/SettingsWorkspaceMembers.tsx b/packages/twenty-front/src/pages/settings/members/SettingsWorkspaceMembers.tsxindex 69ac0e811e4..b6821f13e92 100644--- a/packages/twenty-front/src/pages/settings/members/SettingsWorkspaceMembers.tsx+++ b/packages/twenty-front/src/pages/settings/members/SettingsWorkspaceMembers.tsx@@ -76,8 +76,8 @@ const StyledTableContainer = styled.div<{ hasMoreRows?: boolean }>``;const StyledIconWrapper = styled.div`- display: flex;align-items: center;+ display: flex;margin-right: ${themeCssVariables.spacing[2]};`;diff --git a/packages/twenty-front/src/pages/settings/security/event-logs/components/EventLogFilters.tsx b/packages/twenty-front/src/pages/settings/security/event-logs/components/EventLogFilters.tsxindex 34130a7fa14..228c1241930 100644--- a/packages/twenty-front/src/pages/settings/security/event-logs/components/EventLogFilters.tsx+++ b/packages/twenty-front/src/pages/settings/security/event-logs/components/EventLogFilters.tsx@@ -29,8 +29,8 @@ const StyledFiltersContainer = styled.div`const StyledFilterItem = styled.div`flex: 1;- min-width: 200px;max-width: 300px;+ min-width: 200px;`;export const EventLogFilters = ({diff --git a/packages/twenty-front/src/pages/settings/workspace/SettingsApiWebhooks.tsx b/packages/twenty-front/src/pages/settings/workspace/SettingsApiWebhooks.tsxindex fcdcf1e83b1..0fe34b94da4 100644--- a/packages/twenty-front/src/pages/settings/workspace/SettingsApiWebhooks.tsx+++ b/packages/twenty-front/src/pages/settings/workspace/SettingsApiWebhooks.tsx@@ -37,8 +37,8 @@ const StyledSectionContainer = styled.div`const StyledContainer = styled.div<{ isMobile?: boolean }>`display: flex;flex-direction: column;- overflow: ${({ isMobile }) => (isMobile ? 'hidden' : 'visible')};gap: ${themeCssVariables.spacing[2]};+ overflow: ${({ isMobile }) => (isMobile ? 'hidden' : 'visible')};`;export const SettingsApiWebhooks = () => {diff --git a/packages/twenty-oxlint-rules/OXLINT_MIGRATION_TODO.md b/packages/twenty-oxlint-rules/OXLINT_MIGRATION_TODO.mdindex bfa6b02d51c..f7db2432ada 100644--- a/packages/twenty-oxlint-rules/OXLINT_MIGRATION_TODO.md+++ b/packages/twenty-oxlint-rules/OXLINT_MIGRATION_TODO.md@@ -4,18 +4,20 @@ This file tracks what was lost or temporarily disabled during the ESLint to Oxli## Temporarily Disabled Rules-### twenty-front+### twenty-server| Rule | Reason | Violations | Auto-fixable ||------|--------|------------|-------------|-| `twenty/sort-css-properties-alphabetically` | 578 pre-existing violations | 578 | Yes |+| `typescript/consistent-type-imports` | 3814 pre-existing violations. **Cannot be auto-fixed** because NestJS relies on `emitDecoratorMetadata` for DI — the auto-fixer converts constructor parameter imports to `import type`, which erases them at runtime and breaks dependency injection. | 3814 | No (unsafe auto-fix) |+| `twenty/max-consts-per-file` | 94 pre-existing violations across 24 constant files with >1 export | 94 | No |-### twenty-server+## Re-activated Rules-| Rule | Reason | Violations | Auto-fixable |-|------|--------|------------|-------------|-| `typescript/consistent-type-imports` | 3814 pre-existing violations (imports not using `import type`) | 3814 | Yes |-| `twenty/max-consts-per-file` | 94 pre-existing violations (constant files with >1 export) | 94 | No |+### twenty-front++| Rule | Violations Fixed | Method |+|------|-----------------|--------|+| `twenty/sort-css-properties-alphabetically` | 578 | Auto-fix via `npx nx lint twenty-front --configuration=fix` |## Dropped Plugins (No Oxlint Equivalent)@@ -24,7 +26,6 @@ These plugins were in use but have no oxlint equivalent. Consider whether altern| Plugin | Where Used | What It Did | Replacement / Status ||--------|-----------|-------------|---------------------|| `eslint-plugin-project-structure` | Frontend | Enforced folder naming and structure conventions for `src/modules/` (kebab-case dirs, allowed subdirs like hooks/utils/components, file naming for hooks/utils). Config still in `folderStructure.json`. | No equivalent. Could be implemented as a custom oxlint rule or a standalone CI script. |-| `prettier/prettier` | All packages | Ran Prettier as a lint rule | Run Prettier separately (already in CI/editor via format-on-save) || `lingui/*` | Frontend, emails | i18n extraction and consistency rules | No equivalent || `@stylistic/*` | Server | Formatting rules (indentation, spacing) | Use Prettier instead || `import/order`, `simple-import-sort/imports` | Server | Import sorting and ordering | No equivalent |@@ -40,9 +41,11 @@ These plugins were in use but have no oxlint equivalent. Consider whether alternThe `oxc.oxc-vscode` extension provides inline diagnostics for built-in oxlint rules but does **not** yet support `jsPlugins` (custom `twenty/*` rules). Custom rule violations are only caught by `nx lint` and CI.-## Re-activation Plan+## Remaining Re-activation Plan-1. **Sort CSS properties** (`twenty-front`): Run `npx nx lint twenty-front --configuration=fix` to auto-fix all 578 violations, then re-enable the rule.-2. **Consistent type imports** (`twenty-server`): Run `npx nx lint twenty-server --configuration=fix` to auto-fix all 3814 violations, then re-enable the rule.-3. **Max consts per file** (`twenty-server`): Manually split 94 constant files to have at most 1 exported const each, then re-enable the rule.-4. **Folder structure enforcement** (`twenty-front`): Implement as a custom oxlint rule or a standalone CI check script that validates `src/modules/` against `folderStructure.json`.+1. **Consistent type imports** (`twenty-server`): Cannot safely auto-fix due to NestJS `emitDecoratorMetadata`. Options:+ - Manually add `import type` only where safe (not for DI constructor params)+ - Enable TypeScript's `verbatimModuleSyntax` (major migration)+ - Keep disabled until oxlint supports decorator-aware type import analysis+2. **Max consts per file** (`twenty-server`): Manually split 24 constant files to have at most 1 exported const each, then re-enable the rule.+3. **Folder structure enforcement** (`twenty-front`): Implement as a custom oxlint rule or a standalone CI check script that validates `src/modules/` against `folderStructure.json`.diff --git a/packages/twenty-server/src/app.module.ts b/packages/twenty-server/src/app.module.tsindex 33510d31a2d..55c1f1ed946 100644--- a/packages/twenty-server/src/app.module.ts+++ b/packages/twenty-server/src/app.module.ts@@ -19,11 +19,11 @@ import { GraphQLConfigService } from 'src/engine/api/graphql/graphql-config/grapimport { MetadataGraphQLApiModule } from 'src/engine/api/graphql/metadata-graphql-api.module';import { McpModule } from 'src/engine/api/mcp/mcp.module';import { RestApiModule } from 'src/engine/api/rest/rest-api.module';+import { WorkspaceAuthContextMiddleware } from 'src/engine/core-modules/auth/middlewares/workspace-auth-context.middleware';import { MetricsModule } from 'src/engine/core-modules/metrics/metrics.module';import { DataloaderModule } from 'src/engine/dataloaders/dataloader.module';import { DataSourceModule } from 'src/engine/metadata-modules/data-source/data-source.module';import { WorkspaceMetadataVersionModule } from 'src/engine/metadata-modules/workspace-metadata-version/workspace-metadata-version.module';-import { WorkspaceAuthContextMiddleware } from 'src/engine/core-modules/auth/middlewares/workspace-auth-context.middleware';import { GraphQLHydrateRequestFromTokenMiddleware } from 'src/engine/middlewares/graphql-hydrate-request-from-token.middleware';import { MiddlewareModule } from 'src/engine/middlewares/middleware.module';import { RestCoreMiddleware } from 'src/engine/middlewares/rest-core.middleware';