mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 06:38:17 +00:00
UI enhancement fixes (#3222)
- Added min-width and min-height to Display Layout lines to allow easier selection and move when line is purely vertical or horizontal; - Fixed spacing, size and icon of overlay close button;
This commit is contained in:
committed by
GitHub
parent
97d80f57cc
commit
a4fab3ce8a
@ -76,8 +76,8 @@ const START_HANDLE_QUADRANTS = {
|
||||
2: 'c-frame-edit__handle--se',
|
||||
3: 'c-frame-edit__handle--ne',
|
||||
4: 'c-frame-edit__handle--nw',
|
||||
5: 'c-frame-edit__handle--ne',
|
||||
6: 'c-frame-edit__handle--se'
|
||||
5: 'c-frame-edit__handle--nw',
|
||||
6: 'c-frame-edit__handle--ne'
|
||||
};
|
||||
|
||||
const END_HANDLE_QUADRANTS = {
|
||||
|
@ -46,6 +46,11 @@
|
||||
}
|
||||
|
||||
.is-editing & {
|
||||
// Needed to allow line to be moved
|
||||
$w: 4px;
|
||||
min-width: $w;
|
||||
min-height: $w;
|
||||
|
||||
&:hover {
|
||||
[class*='__hover-indicator'] {
|
||||
display: inline;
|
||||
|
Reference in New Issue
Block a user