Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix centering and overflow of appDrawer
Browse files Browse the repository at this point in the history
if maximised and right panel closed
  • Loading branch information
toger5 committed Nov 10, 2021
1 parent 7ed40f2 commit 1ce66c0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions res/css/structures/_MainSplit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ limitations under the License.
}

.mx_MainSplit > .mx_RightPanel_ResizeWrapper {
padding: 5px;
// margin left to not allow the handle to not encroach on the space for the scrollbar
margin-left: 8px;
// no padding on the left. The spacing is taken care of by the main split content.
padding: 5px 5px 5px 0px;
// margin-left: 0px;
height: calc(100vh - 51px); // height of .mx_RoomHeader.light-panel

&:hover .mx_RightPanel_ResizeHandle {
Expand Down
4 changes: 2 additions & 2 deletions res/css/views/elements/_ResizeHandle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ limitations under the License.
}

.mx_MatrixChat > .mx_ResizeHandle.mx_ResizeHandle_horizontal {
margin: 0 -10px 0 0;
padding: 0 8px 0 0;
// margin: 0 0px 0 0;
// padding: 0 8px 0 0;
}

.mx_ResizeHandle.mx_ResizeHandle_horizontal > div {
Expand Down
3 changes: 2 additions & 1 deletion res/css/views/rooms/_AppsDrawer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ limitations under the License.
$MiniAppTileHeight: 200px;

.mx_AppsDrawer {
margin: 5px 5px 5px 18px;
margin: 5px 5px 5px 5px;
position: relative;
display: flex;
flex-direction: column;
overflow: hidden;
flex-grow: 1;

.mx_AppsContainer_resizerHandleContainer {
width: 100%;
Expand Down

0 comments on commit 1ce66c0

Please sign in to comment.