Set dimensions text above the dimension
This commit is contained in:
parent
8653be0172
commit
9f58203c86
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ export function Dimension(props: IDimensionProps): JSX.Element {
|
||||||
x={(props.xStart + props.xEnd) / 2}
|
x={(props.xStart + props.xEnd) / 2}
|
||||||
y={props.yStart}
|
y={props.yStart}
|
||||||
style={{
|
style={{
|
||||||
transform: `scale(${1 / scale}) translateX(-50%)`,
|
transform: `scale(${1 / scale}) translateX(-50%) translateY(-100%)`,
|
||||||
transformBox: 'fill-box'
|
transformBox: 'fill-box'
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue