docbrown/app/javascript/CommentSubscription
Jeremy Friesen 58a4d805d7
Preventing author profile from going transparent (#15478)
* Preventing author profile from going transparent

Prior to this change, when you would hover over an author profile that
was "close to" the bottom of the page, the card would be transparent
instead of the expected opaque.

With this change, when you hover over an author profile that is "close"
to the bottom of the page, the card renders as an opaque card.

Now why does this work?  I don't really know, except to say that a
`display: table` imperative is a more "chunky" display element than a
block.  I would love for someone to explain why this works.

Tested against on MacOS Safari, Firefox, and Chrome.

https://developer.mozilla.org/en-US/docs/Web/CSS/display

Fixes #15290

* revert table

* fix

* missed spot

* actions dropdown

Co-authored-by: Paweł Ludwiczak <ludwiczakpawel@gmail.com>
2021-11-24 09:38:13 -05:00
..
__stories__ Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
__tests__ Optimise dropdowns for accessibility: Preact component usages (#13948) 2021-06-15 12:06:27 +01:00
CommentSubscription.jsx Preventing author profile from going transparent (#15478) 2021-11-24 09:38:13 -05:00
commentSubscriptionUtilities.jsx [deploy] Add comment subscription component to article page (#7205) 2020-05-05 12:50:30 -04:00
index.js Remove non application files from frontend code coverage (#11752) 2020-12-04 20:00:20 -05:00