-
Notifications
You must be signed in to change notification settings - Fork 939
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: modify ui to prevent social image name overflow in page settings. #5088
base: main
Are you sure you want to change the base?
fix: modify ui to prevent social image name overflow in page settings. #5088
Conversation
<Text variant={"labelsTitleCase"}> | ||
{asset.meta.width} x {asset.meta.height} Px | ||
</Text> | ||
</Flex>{" "} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
accident?
</Text> | ||
<Grid | ||
columns={1} | ||
css={{ padding: theme.spacing[5], width: theme.spacing[34] }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This area of code is old:
- I think you probably want theme.panel.padding
> | ||
<Grid flow={"column"} gap={1} align={"center"}> | ||
<ImageIcon /> | ||
<Text truncate css={{ width: 350 }} variant={"labelsTitleCase"}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you want the layout to define the width without hardcoding
4c314ba
to
f7b172d
Compare
hey @kof, seems like the same issue is present in marketplace image sections in page settings. |
Yes please! |
Hey @kof, sorry for the confusion. the same ImageInfo component is used in both the places, so this pr fixes overflow in both of these components. I was on the main branch earlier so got confused. |
Description
fixes: #4953
aligned the name and other contents properly preventing long image names from overflowing out of view.
Steps for reproduction
Code Review
Before requesting a review
Before merging
.env
file