File tree 2 files changed +6
-6
lines changed
src/frontend/core/renderers/Array2DRenderer
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class Array2DRenderer extends Renderer {
19
19
20
20
return (
21
21
< table className = { styles . array_2d }
22
- style = { { marginLeft : - this . centerX * 2 , marginTop : - this . centerY * 2 , fontSize : this . zoom } } >
22
+ style = { { marginLeft : - this . centerX * 2 , marginTop : - this . centerY * 2 , transform : `scale( ${ this . zoom } )` } } >
23
23
< tbody >
24
24
< tr className = { styles . row } >
25
25
{
Original file line number Diff line number Diff line change 7
7
8
8
.row {
9
9
display : table-row ;
10
- height : 28 em ;
10
+ height : 28 px ;
11
11
12
12
.col {
13
13
display : table-cell ;
14
14
text-align : center ;
15
- min-width : 28 em ;
15
+ min-width : 28 px ;
16
16
background-color : $theme-normal ;
17
- border : 1 em solid $theme-light ;
18
- padding : 0 4 em ;
17
+ border : 1 px solid $theme-light ;
18
+ padding : 0 4 px ;
19
19
20
20
.value {
21
- font-size : 12 em ;
21
+ font-size : 12 px ;
22
22
}
23
23
24
24
& .selected {
You can’t perform that action at this time.
0 commit comments