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

[SDPA-3192] Added Wordwrap mixin and used in rpl_banner_title. #551

Merged

Conversation

MdNadimHossain
Copy link
Contributor

@MdNadimHossain MdNadimHossain commented Sep 30, 2019

JIRA issue: https://digital-engagement.atlassian.net/browse/SDPA-3192

Changed

  1. Added word-wrap for the ripple banner title.

Screenshots

Following screenshots are from mobile, Ipad and Ipad pro screen sizes -
Screen Shot 2019-09-30 at 11 54 46 am
Screen Shot 2019-09-30 at 11 55 01 am
Screen Shot 2019-09-30 at 11 55 14 am

@@ -0,0 +1,3 @@
@mixin rpl_word_wrap($rpl-word-wrap) {
word-wrap: $rpl-word-wrap;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remember to add an empty line in the end of file.

@@ -276,6 +277,7 @@ export default {
&__title {
@include rpl_typography_ruleset($rpl-hero-banner-title-typography-ruleset);
@include rpl_text_color($rpl-hero-banner-title-color);
@include rpl_word_wrap($rpl-hero-banner-title-word-wrap);
Copy link
Contributor

Choose a reason for hiding this comment

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

It just one line of simple css word-wrap: break-word, may not need to be a mixin. Any good reason for it?

@@ -180,6 +180,7 @@ export default {
'xxxl': ('pos': 'right', 'v-offset': $rpl-hero-banner-background-graphic-v-offset-xxl),
'2660px': ('pos': 'right')
) !default;
$rpl-hero-banner-title-word-wrap: break-word !default;
Copy link
Contributor

Choose a reason for hiding this comment

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

I also not thinking of a setting for this, any reason need this to be configurable?

@MdNadimHossain MdNadimHossain merged commit 29d40c3 into develop Oct 8, 2019
@MdNadimHossain MdNadimHossain deleted the feature/SDPA-3192-News-title-fix-for-long-words branch October 8, 2019 22:47
tim-yao added a commit that referenced this pull request Oct 21, 2019
* develop: (63 commits)
  SDPA-3169 adds new branding (#567)
  v1.3.1
  Update create ripple app (#570)
  [SDPL-96] Split fieldRplSelect into its own component (#566)
  Fixed markup encode issue (#572)
  [SDPA-3207] Added style change for CallToAction to xs screen design. (#557)
  Updated the domain for the MyVIC endpoints in the MyVIC Maps. (#573)
  v1.3.0
  [SDPA-3270] Upgraded Nuxt to v2.9.2 (#561)
  [SDPA-3306] add mapping example (#555)
  [SDPA-3338] Fixed markup decode issue (#562)
  [SDPA-2949] Fix: Search results query to support filter object. (#528)
  [SDPA-3203] Added pagination correct number highlighting fix. (#559)
  [SDPA-3125] Added Flex for the small screen to make it two columns. (#552)
  [SDPA-3174] Added hero banner title size for smal & large screen. (#553)
  [SDPA-3192] Added Wordwrap mixin and used in rpl_banner_title. (#551)
  [SDPA-1967] Updated Honour role apply button text to match the design. (#550)
  [SDPA-2470] Added bottom padding for cta component in xs screen. (#549)
  Fix issues with e2e-vic-gov-au tests (#556)
  v1.3.0-alpha.0
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants