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

Add max-width to Notification description #3667

Merged
merged 1 commit into from
Apr 2, 2019
Merged

Conversation

gabrieldutra
Copy link
Member

What type of PR is this? (check all applicable)

  • Other

Description

This adds a max-width to Notification description, it seemed too flexible with specific long messages (see screenshots below).

Related Tickets & Documents

--

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

Before
notification-before

After
notification-after

@gabrieldutra gabrieldutra self-assigned this Apr 1, 2019
@gabrieldutra gabrieldutra requested a review from ranbena April 1, 2019 13:09
.@{notification-prefix-cls} {
// vertical centering
&-notice-close {
top: 20px;
right: 20px;
}

&-notice-description {
max-width: 484px;
Copy link
Member Author

@gabrieldutra gabrieldutra Apr 1, 2019

Choose a reason for hiding this comment

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

The default is width: 384px for the whole Notification, 484px seemed a good one, but LMK if you have other suggestions.

@arikfr arikfr merged commit 13814c7 into master Apr 2, 2019
@arikfr arikfr deleted the notification-max-width branch April 2, 2019 08:54
harveyrendell pushed a commit to pushpay/redash that referenced this pull request Nov 14, 2019
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.

3 participants