aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline_menu
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/timeline_menu')
-rw-r--r--src/components/timeline_menu/timeline_menu.vue7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/components/timeline_menu/timeline_menu.vue b/src/components/timeline_menu/timeline_menu.vue
index 9a3719f7..add8a6eb 100644
--- a/src/components/timeline_menu/timeline_menu.vue
+++ b/src/components/timeline_menu/timeline_menu.vue
@@ -63,11 +63,8 @@
width: 24rem;
.timeline-menu-popover-wrap {
overflow: hidden;
- // Hack: timeline heading padding is 0.6em with 14px font font-size
- // in theory 0.6rem should match that exactly, but in reality it doesn't
- // for seemingly rounding errors in both major browsers. This looks
- // correct in firefox in chromium.
- margin-top: calc(0.6rem + 1.5px);
+ // Match panel heading padding to line up menu with bottom of heading
+ margin-top: 0.6rem;
padding: 0 15px 15px 15px;
}
.timeline-menu-popover {