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

Change "Parents" to "Parents and Students" on /yourschool #19223

Merged
merged 6 commits into from Nov 17, 2017

Conversation

drewsamnick
Copy link
Contributor

This also ads an option to ResourceCard to allow the title to wrap.

@drewsamnick
Copy link
Contributor Author

description={i18n.yourSchoolParentDesc()}
buttonText={i18n.yourSchoolParentButton()}
link={pegasus('/help')}
isRtl={false}
allowWrap={true}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼 parameter makes sense, thanks

@@ -11,6 +11,9 @@ const styles = {
width: 310,
background: color.teal
},
card_allow_wrap: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these labels are usually camelcase, e.g cardAllowWrap

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Copy link
Contributor

@Erin007 Erin007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before and after screenshots, please.

whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
overflow: 'hidden'
},
titleAllowWrap: {
lineHeight: '110%'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.1 should work here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

@drewsamnick
Copy link
Contributor Author

Sorry, here are images.

Before:
screen shot 2017-11-16 at 2 57 11 pm

After:
screen shot 2017-11-16 at 3 02 15 pm

Copy link
Contributor

@tanyaparker tanyaparker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

screenshots lgtm

@drewsamnick drewsamnick merged commit 9873b1c into staging Nov 17, 2017
@drewsamnick drewsamnick deleted the census-rename-parent-resource branch November 17, 2017 00:43
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.

None yet

4 participants