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

Add CSS variable to make the UI gaps consistent and fix the resize handle position #7234

Merged
merged 13 commits into from
Dec 6, 2021
Prev Previous commit
Next Next commit
Update res/css/structures/_MainSplit.scss
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
  • Loading branch information
toger5 and jryans authored Dec 2, 2021
commit 559b1e7af9fe9f10ba24e0d211ba408c13d2db9e
2 changes: 1 addition & 1 deletion res/css/structures/_MainSplit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ limitations under the License.

.mx_MainSplit > .mx_RightPanel_ResizeWrapper {
padding: $container-gap-width;
padding-left: calc($container-gap-width/2); // The resizer should be centered: only half of the gap-width is handled by the right panel. The other half by the RoomView.
padding-left: calc($container-gap-width / 2); // The resizer should be centered: only half of the gap-width is handled by the right panel. The other half by the RoomView.
height: calc(100vh - 51px); // height of .mx_RoomHeader.light-panel

&:hover .mx_ResizeHandle_horizontal::before {
Expand Down