Remove unnecessary changes

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-02-26 11:46:54 +01:00
parent 3bed37463f
commit 3a643e5b9d
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
2 changed files with 13 additions and 23 deletions

View file

@ -18,35 +18,27 @@ limitations under the License.
display: flex; display: flex;
flex-direction: row; flex-direction: row;
min-width: 0; min-width: 0;
height: 100%;
min-height: 0; min-height: 0;
height: 100%;
} }
.mx_MainSplit > .mx_RightPanel_ResizeWrapper { .mx_MainSplit > .mx_RightPanel_ResizeWrapper {
padding: 0 5px 5px 0px; padding: 5px;
// margin left to not allow the handle to not encroach on the space for the scrollbar
margin-left: 8px;
height: calc(100vh - 51px); // height of .mx_RoomHeader.light-panel height: calc(100vh - 51px); // height of .mx_RoomHeader.light-panel
.mx_RightPanel_ResizeHandle {
width: 9px;
}
&:hover .mx_RightPanel_ResizeHandle { &:hover .mx_RightPanel_ResizeHandle {
&::before { // Need to use important to override element style attributes
position: absolute; // set by re-resizable
left: 6px; top: 50% !important;
top: 50%;
transform: translate(0, -50%); transform: translate(0, -50%);
height: 64px; height: 64px !important; // to match width of the ones on roomlist
width: 4px; width: 4px !important;
border-radius: 4px; border-radius: 4px !important;
content: ' ';
background-color: $primary-fg-color; background-color: $primary-fg-color;
opacity: 0.8; opacity: 0.8;
margin-left: -10px;
}
} }
} }

View file

@ -144,8 +144,6 @@ limitations under the License.
.mx_RoomView_messagePanel, .mx_RoomView_messagePanelSpinner, .mx_RoomView_messagePanelSearchSpinner { .mx_RoomView_messagePanel, .mx_RoomView_messagePanelSpinner, .mx_RoomView_messagePanelSearchSpinner {
order: 2; order: 2;
} }
margin-right: 10px;
} }
.mx_RoomView_body .mx_RoomView_timeline { .mx_RoomView_body .mx_RoomView_timeline {