mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 21:38:35 +03:00
some styling fixes (#178)
* logos at bottom * use GT-Zirkon font * update filter/category copy * add a fallback font * stop tracking * make timeline smaller for smaller laptops * fix for firefox responsive intropopup * mobile fallback * update design system version
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { mergeDeepLeft } from 'ramda'
|
||||
import global, { colors } from '../common/global'
|
||||
|
||||
const isSmallLaptop = window.innerHeight < 800
|
||||
const initial = {
|
||||
/*
|
||||
* The Domain or 'domain' of this state refers to the tree of data
|
||||
@@ -62,12 +63,12 @@ const initial = {
|
||||
},
|
||||
timeline: {
|
||||
dimensions: {
|
||||
height: 250,
|
||||
height: isSmallLaptop ? 170 : 250,
|
||||
width: 0,
|
||||
marginLeft: 70,
|
||||
marginTop: 10, // the padding used for the day/month labels inside the timeline
|
||||
marginTop: isSmallLaptop ? 5 : 10, // the padding used for the day/month labels inside the timeline
|
||||
marginBottom: 60,
|
||||
contentHeight: 200,
|
||||
contentHeight: isSmallLaptop ? 160 : 200,
|
||||
width_controls: 100
|
||||
},
|
||||
range: [
|
||||
|
||||
Reference in New Issue
Block a user