mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 03:51:36 +03:00
4aabe9e224
Fixes: #7999 1. Summary I am not 100% sure why it's happening, but it seems `justify-content: center` conflicts with `overflow-y: auto` and that's why the modal content becomes unscrollable and cut off. 2. Solution To preserve the styling that centers the content inside the modal even when the content height is less than the modal, I moved `justify-content: center` from the content to the modal container. When the content overflows the modal, it seems `justify-content: center` does nothing, though. 3. Screen Recording https://github.com/user-attachments/assets/17d8ddbd-7fe8-46ce-b8d0-82d817ee7025 --------- Co-authored-by: Félix Malfait <felix@twenty.com> |
||
---|---|---|
.. | ||
__mocks__ | ||
.storybook | ||
public | ||
scripts | ||
src | ||
.env.example | ||
.eslintrc-ci.cjs | ||
.eslintrc.cjs | ||
.gitignore | ||
.prettierignore | ||
.swcrc | ||
codegen-metadata.cjs | ||
codegen.cjs | ||
folderStructure.json | ||
index.html | ||
jest.config.ts | ||
nyc.config.cjs | ||
package.json | ||
project.json | ||
README.md | ||
setupTests.ts | ||
tsconfig.build.json | ||
tsconfig.dev.json | ||
tsconfig.json | ||
tsconfig.spec.json | ||
tsconfig.storybook.json | ||
tsup.config.ts | ||
tsup.ui.index.tsx | ||
vite.config.ts |
Run yarn dev
while server running on port 3000