Skip to content

Fixed word-wrap behavior for promo code text #2162

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

Merged

Conversation

nmelehan
Copy link
Contributor

@nmelehan nmelehan commented Dec 4, 2018

The promo code banner has been changed so that it includes a nested set of two Bootstrap columns: the promo code label text is in the left column, and the Try This Guide button is in the right column.

When the viewport is shrunk, or if the label for the promo code is longer than the default, then the promo code text will wrap in its own column and leave the button stuck to the right side of the banner.

screen shot 2018-12-04 at 3 10 15 pm

Related Hercules PR:
https://github.com/linode/hercules/pull/111

@andystevensname andystevensname merged commit 587e880 into linode:develop Dec 4, 2018
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