Skip to content

Commit 93d8d7e

Browse files
Delay + commit for without keys
1 parent c9208ce commit 93d8d7e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

EssentialCSharp.Web/Views/Shared/_Layout.cshtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@
9797
<button class="menu-btn sidebar-tooltip" v-on:click="sidebarShown = !sidebarShown">
9898
<i class="fa fa-bars fa-lg icon-light"></i>
9999
<span class="sidebar-tooltip-text">
100-
<b>Ctrl + M</b>
100+
<b>Navigation</b>
101+
<br />
102+
Or Ctrl + M
101103
</span>
102104
</button>
103105
<div class="d-none d-lg-block">

EssentialCSharp.Web/wwwroot/css/styles.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,21 +271,23 @@ a:hover {
271271
}
272272

273273
.sidebar-tooltip:hover .sidebar-tooltip-text {
274+
transition-delay: 1s;
275+
transition-property: visibility;
274276
visibility: visible;
275277
}
276278

277279
.sidebar-tooltip .sidebar-tooltip-text {
278280
visibility: hidden;
279281
position: absolute;
280-
width: 80px;
282+
width: 150px;
281283
color: var(--primary-color);
282284
font-size: 1rem;
283285
background-color: var(--grey-lighten-1);
284286
border-radius: 10px;
285287
padding: 10px;
286288
white-space: normal;
287289
left: 2rem;
288-
bottom: -9px;
290+
bottom: -35px;
289291
}
290292

291293
.nav-link {

0 commit comments

Comments
 (0)