Skip to content
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

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

MahtabBukhari
Copy link
Contributor

@MahtabBukhari MahtabBukhari commented Nov 18, 2024

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.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have tested on Chrome and Firefox
  • I have tested on a mobile device
  • I have provided a screenshot or recording of changes in my PR if there were updates to the frontend

@MahtabBukhari
Copy link
Contributor Author

@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;
Copy link
Collaborator

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%

Copy link
Contributor Author

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;
Copy link
Collaborator

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

@tobi-bams tobi-bams merged commit 2a4803f into stakwork:master Nov 18, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants