Revert "Remove FloatableElement hack, no longer needed"

We still need overflow-x set to a non-visible value, so that
the overflow-y: visible rule doesn't take effect. If it does
take effect, it breaks clipping.

This reverts commit 97bde4d21a.

Bug: T159888
Change-Id: Id834d9cf9615a8d2dad27faf2eb89743ad95da9d
This commit is contained in:
Catrope 2017-03-08 01:20:43 +00:00
parent 97bde4d21a
commit 8b396ec675

View file

@ -41,7 +41,9 @@
> .oo-ui-popupWidget-body { > .oo-ui-popupWidget-body {
// Work around scrollbar rendering bug in Chrome // Work around scrollbar rendering bug in Chrome
overflow-y: visible; overflow-y: visible;
// overflow-x can't be set to visible, otherwise ClippableElement breaks // ...but make sure we don't actually overflow in the Y direction,
// to avoid breaking ClippableElement
overflow-x: auto;
> .mw-echo-ui-notificationsListWidget > .mw-echo-ui-notificationItemWidget { > .mw-echo-ui-notificationsListWidget > .mw-echo-ui-notificationItemWidget {
// The popup body itself has a border. We need to override the notification // The popup body itself has a border. We need to override the notification