mirror of https://github.com/vector-im/riot-web
Merge pull request #5641 from SimonBrandner/fix-rounded-resize
Fix border radius when the panel is collapsedpull/21833/head
commit
ec4a39a694
|
@ -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 New Issue