Skip to content

Commit 5dcbeef

Browse files
authored
center tooltip
1 parent ec7e992 commit 5dcbeef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_includes/researchmap.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
}
4545

4646
/* Small image inside tooltip */
47-
.tooltip img { max-width: 100%; border-radius: 6px; margin-bottom: 6px; max-height: 80px; height: auto; width: auto; } /* width was 100%, I added max-height */
47+
.tooltip img { max-width: 100%; border-radius: 6px; margin-bottom: 6px; max-height: 80px; height: auto; width: auto; margin-left: auto; margin-right: auto; } /* width was 100%, I added max-height */
4848
.tooltip h3 { margin: 0 0 4px; font-size: 14px; color: #343131; }
4949
.tooltip p { margin: 0; font-size: 12px; color: #666; }
5050

0 commit comments

Comments
 (0)