mirror of
https://github.com/lingble/twenty.git
synced 2025-11-01 05:07:56 +00:00
fix: date-picker flips in records cell even when there is enough space (#7905)
Fixes: #7897 This PR fixes the flipping of the date-picker in the record's cell even if there is enough space below the table. I attached a screencast to show that it's working fine now. With this, it only flips when there is less space to accommodate the date-picker comp. Also, I tested this after adding lots of records to see if the scrolling behaviour is intact or not. And I found no issues, it's working as expected. [Screencast from 2024-10-21 13-39-42.webm](https://github.com/user-attachments/assets/615fac80-ae2e-4d26-8f94-55d7ee3f91c2)
This commit is contained in:
@@ -8,8 +8,6 @@ import { v4 } from 'uuid';
|
|||||||
const StyledTbody = styled.tbody<{
|
const StyledTbody = styled.tbody<{
|
||||||
theme: Theme;
|
theme: Theme;
|
||||||
}>`
|
}>`
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
&.first-columns-sticky {
|
&.first-columns-sticky {
|
||||||
td:nth-of-type(1) {
|
td:nth-of-type(1) {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
|
|||||||
Reference in New Issue
Block a user