Changeset 5528b99 for frontend/src/Components/TransportDetails/Line.js
- Timestamp:
- 01/16/24 16:34:03 (9 months ago)
- Branches:
- master
- Children:
- 07f4e8b
- Parents:
- e6c2521
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/Components/TransportDetails/Line.js
re6c2521 r5528b99 2 2 3 3 const Line = (props) => { 4 const left = props.left === "true" ? "1.8rem" : "1.85rem"; 4 console.log(props.left) 5 const left = props.left === "true" ? "9.08rem" : "2.6rem"; 6 console.log({borderLeft: "5px solid #159895", height: "3em", marginLeft: left, marginTop: "-1.4rem", marginBottom: "-1.4rem"}) 5 7 return (<> 6 8 <div style={{borderLeft: "5px solid #159895", height: "3em", marginLeft: left, marginTop: "-1.4rem", marginBottom: "-1.4rem"}}></div>
Note:
See TracChangeset
for help on using the changeset viewer.