-
Notifications
You must be signed in to change notification settings - Fork 43
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
Modal needs to be wider #653
Modal needs to be wider #653
Conversation
@humansinstitute Could you please review the PR as tests will pass? |
@@ -1366,13 +1366,20 @@ export const StoriesButtonGroup = styled.div` | |||
|
|||
export const GenerateStoriesModal = styled.div` | |||
background: #fff; | |||
width: 600px; | |||
width: 800px; |
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.
Please can we use percentages here rather than using an absolute value.
Like we want to use 65%.
And maybe add for smaller screens and the width could be 90%
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.
Sorry, I have seen your comments now 😔
You are right we should have to be used a dynamic style approach
`; | ||
|
||
export const GenerateStoriesText = styled.p` | ||
font-family: 'Barlow', sans-serif; | ||
font-size: 18px; | ||
color: #5f6368; | ||
margin: 0; | ||
width: 500px; | ||
width: 650px; |
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.
Here also, can we use a width of 100%
so the content just take the width of it's container. Using absolute width always caused issue because users always have different screen size
Describe your changes
Issue ticket number : #647
Link
Clone: #647
Evidence:
https://www.loom.com/share/f471dec147274d409f065e05bab632ee?sid=838244b6-a6bc-4f34-9ab8-91338d4847a1
Type of change
Please delete options that are not relevant.
Checklist before requesting a review