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
Flash message at top of the page not visible #1629
Conversation
@damianpm I would suggest to only add some styling for now.
And I would make the text content live into a
What do you think? |
@cntlsn @hemahg @thomasmaas
|
@damianpm @cntlsn @hemahg = render 'shared/provider/flash', flash: flash unless flash.empty? |
I think the Styling-wise I kind of like the error message sticking to the right but would be good to deploy to preview. |
@josemigallas do you mean margin right? |
I prefer it aligned to the right |
Codecov Report
@@ Coverage Diff @@
## master #1629 +/- ##
=========================================
Coverage ? 80.23%
=========================================
Files ? 2245
Lines ? 70376
Branches ? 0
=========================================
Hits ? 56465
Misses ? 13911
Partials ? 0 Continue to review full report at Codecov.
|
@thomasmaas @cntlsn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hemahg @damianpm
Tested in https://multitenant-admin.preview01.3scale.net/, both css formatting and z-index issues look good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thomasmaas, @cntlsn Updated margins and paddings with `line-height-times' |
@hemahg @damianpm @thomasmaas as I shared in chat already, my feeling is that a more pronounced drop shadow (like the one I posted previously) will make the alert stand out more from the background. This is good UX practice, as it makes the alert more noticeable to users. |
@hemahg I would suggest using half line-height margins like so: correction: that doesn't work well when there is a scrollbar. So maybe 1 lineheight is better: That makes it align with page content but I'd say that animation + drop shadow size still make it notable enough. |
margin-top: line-height-times(3 / 2); | ||
padding: line-height-times(1); | ||
position: fixed; | ||
right: line-height-times(2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right: line-height-times(2); | |
right: line-height-times(1); |
Signed-off-by: HemaHG <hhg@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: HemaHG <hhg@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job @hemahg 💪🏽
What this PR does / why we need it:
Flash message at top of the page not visible when the page is large
Which issue(s) this PR fixes
https://issues.redhat.com/browse/THREESCALE-4028
Verification steps
-Create an application plan and observe the flash message