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}
|
${overlayBackground}
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
margin: -1px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|||||||
@ -14,7 +14,6 @@ const StyledInlineCellEditModeContainer = styled.div<InlineCellEditModeProps>`
|
|||||||
const StyledInlineCellInput = styled.div`
|
const StyledInlineCellInput = styled.div`
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-left: -1px;
|
|
||||||
|
|
||||||
min-height: 32px;
|
min-height: 32px;
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
|
|||||||
@ -4,7 +4,6 @@ import styled from '@emotion/styled';
|
|||||||
const StyledEditableCellEditModeContainer = styled.div<TableCellEditModeProps>`
|
const StyledEditableCellEditModeContainer = styled.div<TableCellEditModeProps>`
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin: -1px;
|
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
width: calc(100% + 2px);
|
width: calc(100% + 2px);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user