File tree Expand file tree Collapse file tree 4 files changed +7
-10
lines changed Expand file tree Collapse file tree 4 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import ResizableRect from 'react-resizable-rotatable-draggable';
6
6
import RadioBlocks from '../widgets/RadioBlocks' ;
7
7
import DualNumeric from './DualNumeric' ;
8
8
9
- const maxWidth = 276 ;
9
+ const maxWidth = 280 ;
10
10
const gridRes = 8 ;
11
11
12
12
class UnconnectedRectanglePositioner extends Component {
@@ -58,8 +58,8 @@ class UnconnectedRectanglePositioner extends Component {
58
58
const fieldWidthPx = Math . min ( maxWidth , maxWidth / aspectRatio ) ;
59
59
const fieldHeightPx = Math . min ( maxWidth , maxWidth * aspectRatio ) ;
60
60
61
- const width = fieldWidthPx * ( x [ 1 ] - x [ 0 ] ) ;
62
- const height = fieldHeightPx * ( y [ 1 ] - y [ 0 ] ) ;
61
+ const width = fieldWidthPx * ( x [ 1 ] - x [ 0 ] ) - 6 ; // eslint-disable-line
62
+ const height = fieldHeightPx * ( y [ 1 ] - y [ 0 ] ) - 6 ; // eslint-disable-line
63
63
const left = fieldWidthPx * x [ 0 ] ;
64
64
const top = fieldHeightPx * ( 1 - y [ 1 ] ) ;
65
65
Original file line number Diff line number Diff line change 10
10
font-size : var (--font-size-base );
11
11
border : 1px solid var (--fold-header-border-color-closed );
12
12
background-color : var (--fold-header-background-closed );
13
- height : 15 px ;
13
+ height : 30 px ;
14
14
border-radius : var (--border-radius );
15
15
text-shadow : var (--text-shadow-dark-ui );
16
- transition : background-color 0.1s ease-in-out , color 0.1s ease-in-out ,
17
- border 0.1s ease-in-out ;
16
+ transition : background-color 0.1s ease-in-out , color 0.1s ease-in-out , border 0.1s ease-in-out ;
18
17
19
18
& :hover {
20
19
cursor : pointer ;
Original file line number Diff line number Diff line change 19
19
display : block ;
20
20
}
21
21
// gets overridden by user agent stylesheet otherwise
22
- width : 15 px !important ;
22
+ width : 19 px !important ;
23
23
height : 15px !important ;
24
24
fill : var (--color-text-light ) !important ;
25
25
padding-left : var (--spacing-quarter-unit );
Original file line number Diff line number Diff line change 11
11
border : 1px solid var (--color-border-default );
12
12
flex-grow : 1 ;
13
13
14
-
15
14
& ,
16
15
.rangeslider__fill {
17
16
display : block ;
68
67
background-color : var (--color-accent );
69
68
border : var (--border-accent );
70
69
border-radius : 10px ;
71
- transform : translateY (-1px );
72
70
top : 0 ;
73
71
}
74
72
.rangeslider__handle {
75
73
$size : 20px ;
76
74
width : $size / 3 ;
77
- height : $size * 1.5 ;
75
+ height : $size * 1.5 ;
78
76
border-radius : $size ;
79
77
top : 50% ;
80
78
transform : translate3d (-50% , -50% , 0 );
You can’t perform that action at this time.
0 commit comments