mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
Fix border radius when the panel is collapsed
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
a87e637666
commit
8afb74d0e1
1 changed files with 5 additions and 7 deletions
|
@ -197,6 +197,9 @@ limitations under the License.
|
||||||
|
|
||||||
.mx_RoomSublist_resizerHandles {
|
.mx_RoomSublist_resizerHandles {
|
||||||
flex: 0 0 4px;
|
flex: 0 0 4px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Class name comes from the ResizableBox component
|
// Class name comes from the ResizableBox component
|
||||||
|
@ -207,17 +210,12 @@ limitations under the License.
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
|
||||||
// Override styles from library
|
// Override styles from library
|
||||||
width: unset !important;
|
max-width: 64px;
|
||||||
height: 4px !important; // Update RESIZE_HANDLE_HEIGHT if this changes
|
height: 4px !important; // Update RESIZE_HANDLE_HEIGHT if this changes
|
||||||
|
|
||||||
// This is positioned directly below the 'show more' button.
|
// This is positioned directly below the 'show more' button.
|
||||||
position: absolute;
|
position: relative !important;
|
||||||
bottom: 0 !important; // override from library
|
bottom: 0 !important; // override from library
|
||||||
|
|
||||||
// Together, these make the bar 64px wide
|
|
||||||
// These are also overridden from the library
|
|
||||||
left: calc(50% - 32px) !important;
|
|
||||||
right: calc(50% - 32px) !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover, &.mx_RoomSublist_hasMenuOpen {
|
&:hover, &.mx_RoomSublist_hasMenuOpen {
|
||||||
|
|
Loading…
Reference in a new issue