From de38ffb6b3ea815fdec02c4aa9d21eacbff511d6 Mon Sep 17 00:00:00 2001 From: Bowen Yin Date: Sat, 10 Oct 2020 20:25:22 +0000 Subject: [PATCH] Remove hovercard transition; Release v2.5.2 --- src/views/Home.vue | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/src/views/Home.vue b/src/views/Home.vue index 345c878..785f6e4 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -383,7 +383,7 @@ export default { } .hovercard { height: 24px; - display: block; + display: none; position: fixed; overflow: hidden; padding: 2px 6px 2px 7px; @@ -392,25 +392,19 @@ export default { line-height: 20px !important; background-color: var(--v-accent-base); color: #FFFFFF; - transition: visibility 75ms, opacity 75ms linear; - opacity: 0; - visibility: hidden; -} -div.regular-period .hovercard { - display: none; } a.regular-period:hover .hovercard, .lunch:hover .hovercard { opacity: 0.8; - visibility: visible; -} -.hovercard-icon { - vertical-align: sub; + display: block; } @media (hover: none) { .hovercard { - display: none; + display: none !important; } } +.hovercard-icon { + vertical-align: sub; +}