fix bad tooltip placement

This commit is contained in:
Connor Turland 2015-12-12 11:31:54 -05:00
parent eec7dcb9c3
commit be2997d7e4

View file

@ -412,7 +412,7 @@
z-index: 3; z-index: 3;
} }
.mapPage .mapControls, .topicPage .mapControls { .mapPage .mapControls, .topicPage .mapControls {
right: 24px; right: 24px;
} }
.topicPage .zoomExtents { .topicPage .zoomExtents {
@ -461,7 +461,7 @@
} }
.hide { .hide {
display: none !important; display: none !important;
} }
.tooltips { .tooltips {
@ -541,7 +541,7 @@
} }
.sidebarAccountIcon .tooltipsUnder { .sidebarAccountIcon .tooltipsUnder {
margin-left: -8px; margin-left: -12px;
margin-top: 40px; margin-top: 40px;
} }
@ -561,14 +561,17 @@
.sidebarFilterIcon div:after, .sidebarForkIcon div:after, .addMap div:after, .sidebarAccountIcon .tooltipsUnder:after { .sidebarFilterIcon div:after, .sidebarForkIcon div:after, .addMap div:after, .sidebarAccountIcon .tooltipsUnder:after {
content: ''; content: '';
position: absolute; position: absolute;
top: 129%; right: 40%;
margin-top: -30px; margin-top: -7px;
width: 0; width: 0;
height: 0; height: 0;
border-bottom: 4px solid #000000; border-bottom: 4px solid #000000;
border-left: 5px solid transparent; border-left: 5px solid transparent;
border-right: 5px solid transparent; border-right: 5px solid transparent;
} }
.sidebarFilterIcon div:after {
right: 37% !important;
}
.mapInfoIcon div:after, .openCheatsheet div:after { .mapInfoIcon div:after, .openCheatsheet div:after {
content: ''; content: '';