Adjust the line height and expand the maximum height of the plac… (#7764)

fixes: #7757

## What does this PR do?

We increased the line height from md to lg and the max height of the
placeholder subtitle text from 2.4 to 2.8 to ensure that letters are no
longer slightly cut off in the placeholder in Functions.



![twenty-placeholder-text](https://github.com/user-attachments/assets/1cfed3c4-6bae-4200-9516-4e1295da170a)

## How should this be tested?

  1. Log in
  2. Go to Settings
  3. Toggle "Advanced" settings
  4. Go to Functions

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Muhammad Abdullah
2024-10-22 00:47:17 +05:00
committed by GitHub
parent 34ef2d3d6d
commit 25010174f0

View File

@ -26,7 +26,7 @@ const StyledEmptyTextContainer = styled.div`
align-items: center;
display: flex;
flex-direction: column;
gap: ${({ theme }) => theme.spacing(3)};
gap: ${({ theme }) => theme.spacing(2)};
justify-content: center;
text-align: center;
width: 100%;
@ -46,8 +46,8 @@ const StyledEmptySubTitle = styled.div`
color: ${({ theme }) => theme.font.color.tertiary};
font-size: ${({ theme }) => theme.font.size.sm};
font-weight: ${({ theme }) => theme.font.weight.regular};
line-height: ${({ theme }) => theme.text.lineHeight.md};
max-height: 2.4em;
line-height: ${({ theme }) => theme.text.lineHeight.lg};
max-height: 2.8em;
overflow: hidden;
width: 50%;
`;