You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
* Nesting: `mx_ResizeHandle`
* Nesting: `> div`
* Run prettier
* Use a custom property
* Remove a redundant declaration: `cursor: row-resize`
The resizer is either vertical or horizontal, and since `cursor: row-resize` is applied by default, it does not need to be repeated here.
* Conform the class names to the naming policy
* Revert "Use a custom property"
This reverts commit 6116939eec
.
42 lines
983 B
Plaintext
42 lines
983 B
Plaintext
/*
|
|
Copyright 2018 New Vector Ltd.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
.mx_ResizeHandle {
|
|
cursor: row-resize;
|
|
flex: 0 0 auto;
|
|
z-index: 100;
|
|
|
|
&.mx_ResizeHandle--horizontal {
|
|
margin: 0 -5px;
|
|
padding: 0 5px;
|
|
cursor: col-resize;
|
|
|
|
> div {
|
|
width: 1px;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
&.mx_ResizeHandle--vertical {
|
|
margin: -5px 0;
|
|
padding: 5px 0;
|
|
|
|
> div {
|
|
height: 1px;
|
|
}
|
|
}
|
|
}
|