2284 fix(frontend): layout shift in date input (#2292)
* fix(frontend): layout shift in date input * Fix Inline Cell overlay being shifted --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -8,6 +8,7 @@ const StyledFieldInputOverlay = styled.div`
|
||||
${overlayBackground}
|
||||
display: flex;
|
||||
height: 32px;
|
||||
margin: -1px;
|
||||
width: 100%;
|
||||
`;
|
||||
|
||||
|
||||
@ -14,7 +14,6 @@ const StyledInlineCellEditModeContainer = styled.div<InlineCellEditModeProps>`
|
||||
const StyledInlineCellInput = styled.div`
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin-left: -1px;
|
||||
|
||||
min-height: 32px;
|
||||
min-width: 200px;
|
||||
|
||||
@ -4,7 +4,6 @@ import styled from '@emotion/styled';
|
||||
const StyledEditableCellEditModeContainer = styled.div<TableCellEditModeProps>`
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin: -1px;
|
||||
min-width: 200px;
|
||||
width: calc(100% + 2px);
|
||||
z-index: 1;
|
||||
|
||||
Reference in New Issue
Block a user