mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-11 21:08:36 +03:00
md padding, title click to home, 'Evidence type'
This commit is contained in:
@@ -123,6 +123,7 @@ class Dashboard extends React.Component {
|
||||
<Toolbar
|
||||
isNarrative={!!app.narrative}
|
||||
methods={{
|
||||
onTitle: actions.toggleCover,
|
||||
onTagFilter: tag => actions.toggleFilter('tags', tag),
|
||||
onCategoryFilter: category => actions.toggleFilter('categories', category),
|
||||
onSelectNarrative: this.setNarrative
|
||||
|
||||
@@ -64,7 +64,7 @@ class SourceOverlay extends React.Component {
|
||||
|
||||
{(type || date || url) ? <div className='mo-box'>
|
||||
<div>
|
||||
{type ? <h4>Media type</h4> : null}
|
||||
{type ? <h4>Evidence type</h4> : null}
|
||||
{type ? <p><i className='material-icons left'>perm_media</i>{type}</p> : null}
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@@ -158,7 +158,7 @@ class Toolbar extends React.Component {
|
||||
|
||||
return (
|
||||
<div className='toolbar'>
|
||||
<div className='toolbar-header'><p>{title}</p></div>
|
||||
<div className='toolbar-header'onClick={this.props.methods.onTitle}><p>{title}</p></div>
|
||||
<div className='toolbar-tabs'>
|
||||
{this.renderToolbarTab(0, narrativesLabel, 'timeline')}
|
||||
{(isCategories) ? this.renderToolbarTab(1, categoriesLabel, 'widgets') : null}
|
||||
|
||||
@@ -267,6 +267,7 @@ $overlay-bg: rgba(239,239,239,0.9);
|
||||
font-family: Helvetica, Georgia, serif;
|
||||
line-height: 1.5em;
|
||||
min-width: 100%;
|
||||
margin-bottom: 120px;
|
||||
|
||||
color: $overlay-bg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user