File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import styled from 'styled-components' ;
3
3
import { fieldScreenXPixels , fieldScreenYPixels , screenToRealPose } from '../coordinates/field' ;
4
- import fieldImg from '../assets/field .jpg' ;
4
+ import fieldImg from '../assets/2020field .jpg' ;
5
5
import { useSpring , animated } from 'react-spring' ;
6
6
7
7
// Outter element that wraps the inner field, room for the human stations and the like
@@ -105,8 +105,9 @@ const FloatingTooltip = styled.div`
105
105
border: 3px solid black;
106
106
` ;
107
107
108
+ // margin says how inset from the image does it need to be
108
109
const StyledFieldInner = styled . div `
109
- margin: 23px;
110
+ margin: 23px 42px 23px 39px;
110
111
position: relative;
111
112
background-color: #6fd42245;
112
113
width: ${ fieldScreenXPixels } px;
You can’t perform that action at this time.
0 commit comments