Skip to content

Commit 5d2048e

Browse files
authored
Merge pull request #32 from rakeshAlgo/ui-fixes
Sandbox site validation UI fixes
2 parents 9e7ce50 + 7abd79d commit 5d2048e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/css/nav.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@
168168
color: var(--brand-color-gray1);
169169
}
170170

171-
.nav-item .nav-line[data-depth="0"] > .nav-text {
171+
.nav-item .nav-line[data-depth="0"] > .nav-text ,
172+
.nav-item .nav-line[data-depth="0"] > .nav-link {
172173
font-size: 1.25rem;
173174
line-height: 1.75rem;
174175
font-weight: var(--weight-semibold);

src/js/01-nav.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,10 @@
134134
setTimeout(function () {
135135
if (nav.innerText === '') {
136136
nav.classList.add('hide-nav')
137+
} else {
138+
nav.classList.add('show-nav')
137139
}
138-
}, 100)
140+
}, 2000)
139141
// has children in li
140142
// $('ul.nav-list li.nav-item ul.nav-list .nav-item').has('ul.nav-list').addClass('has-children')
141143
function concealEvent (e) {

0 commit comments

Comments
 (0)