fix map upperRightUI layout
This commit is contained in:
parent
d2d35c9a3d
commit
9013d49ca1
3 changed files with 4 additions and 2 deletions
|
@ -167,7 +167,7 @@
|
|||
}
|
||||
|
||||
.upperRightMapButtons {
|
||||
top: -42px; /* puts it just offscreen */
|
||||
right: 134px;
|
||||
}
|
||||
.mapPage .upperRightMapButtons, .topicPage .upperRightMapButtons {
|
||||
top: 0;
|
||||
|
|
|
@ -10,6 +10,7 @@ import { notifyUser } from './index.js'
|
|||
import Active from '../Active'
|
||||
import DataModel from '../DataModel'
|
||||
import { ExploreMaps, ChatView, TopicCard } from '../Views'
|
||||
import Filter from '../Filter'
|
||||
import Realtime from '../Realtime'
|
||||
import Map, { InfoBox } from '../Map'
|
||||
import Topic from '../Topic'
|
||||
|
@ -75,6 +76,7 @@ const ReactApp = {
|
|||
endActiveMap: Map.end,
|
||||
launchNewMap: Map.launch,
|
||||
toggleMapInfoBox: InfoBox.toggleBox,
|
||||
toggleFilterBox: Filter.toggleBox,
|
||||
infoBoxHtml: InfoBox.html
|
||||
// filters
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ class MapButtons extends Component {
|
|||
|
||||
render () {
|
||||
const { currentUser, filterBoxOpen } = this.props
|
||||
return <div className="mapElement upperRightEl upperRightMapButtons">
|
||||
return <div className="mapElement upperRightEl upperRightMapButtons upperRightUI">
|
||||
{currentUser && <div className="importDialog upperRightEl upperRightIcon mapElement openLightbox" data-open="import-dialog-lightbox">
|
||||
<div className="tooltipsUnder">
|
||||
Import Data
|
||||
|
|
Loading…
Add table
Reference in a new issue