mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 13:28:36 +03:00
small fixes
This commit is contained in:
@@ -70,7 +70,7 @@ class TimelineAxis extends React.Component {
|
||||
/>
|
||||
<g
|
||||
ref={this.xAxis1Ref}
|
||||
transform={`translate(0, ${this.props.dims.trackHeight + PADDING})`}
|
||||
transform={`translate(0, ${this.props.dims.trackHeight + PADDING - 2*(PADDING / 3)})`}
|
||||
clipPath={`url(#clip)`}
|
||||
className={`axis axisHourText`}
|
||||
/>
|
||||
|
||||
@@ -45,7 +45,7 @@ function MapEvents ({
|
||||
fill: getCategoryColor(locCategory),
|
||||
stroke: colors.darkBackground,
|
||||
strokeWidth: 0,
|
||||
fillOpacity: calcOpacity(location.events.length),
|
||||
fillOpacity: narrative ? 1 : calcOpacity(location.events.length),
|
||||
...extraStyles
|
||||
})
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import React from 'react'
|
||||
|
||||
const TimelineHandles = ({ dims, onMoveTime }) => {
|
||||
return null
|
||||
// temporarilty disabled while we get functionality working again
|
||||
return (
|
||||
<g className='time-controls-inline'>
|
||||
<g
|
||||
|
||||
@@ -27,7 +27,7 @@ const TimelineLabels = ({ dims, timelabels }) => {
|
||||
<text
|
||||
class='timelabelF timeLabel'
|
||||
x={dims.width - dims.width_controls - 5}
|
||||
y='15'
|
||||
y='135'
|
||||
style={{ textAnchor: 'end' }}
|
||||
>
|
||||
{timelabels[1]}
|
||||
|
||||
Reference in New Issue
Block a user