mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
c9dc273cb0
instead of having to offset the padding of children of the autohiding scrollbar container, which gets fiddly quickly, add a new child to the scrollbar container that gets a negative margin of the scrollbar width when needed (on hover and overflowing when overlay is not supported). This needs an extra DOM element, but as it doesn't do anything weird layout-wise (like set position), it shouldn't affect styling at all. It also makes the auto hide scrollbar workarounds completely transparent to the rest of the code. |
||
---|---|---|
.. | ||
structures | ||
views | ||
_common.scss | ||
_components.scss | ||
rethemendex.sh |