mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 17:25:50 +03:00
3ca957b541
* 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 6116939eec7d9e4220b89a638623e5876e143adf.
41 lines
983 B
Text
41 lines
983 B
Text
/*
|
|
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;
|
|
}
|
|
}
|
|
}
|