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. |
||
---|---|---|
.. | ||
login | ||
_AutoHideScrollbar.scss | ||
_CompatibilityPage.scss | ||
_ContextualMenu.scss | ||
_CreateRoom.scss | ||
_FilePanel.scss | ||
_GroupView.scss | ||
_HomePage.scss | ||
_LeftPanel.scss | ||
_LoginBox.scss | ||
_MatrixChat.scss | ||
_MyGroups.scss | ||
_NotificationPanel.scss | ||
_RightPanel.scss | ||
_RoomDirectory.scss | ||
_RoomStatusBar.scss | ||
_RoomSubList.scss | ||
_RoomView.scss | ||
_SearchBox.scss | ||
_TagPanel.scss | ||
_TopLeftMenuButton.scss | ||
_UploadBar.scss | ||
_UserSettings.scss | ||
_ViewSource.scss |