Skip to content

Commit 37083b7

Browse files
committed
don't show arrow on nav explore drawer unless it's not collapsible
1 parent 3a7157a commit 37083b7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/css/nav.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,21 +200,26 @@ html.is-clipped--nav {
200200
display: flex;
201201
align-items: center;
202202
justify-content: space-between;
203-
cursor: pointer;
204203
line-height: 1;
205204
height: var(--drawer-height);
206205
}
207206

207+
.nav-panel-explore:not(:first-child) .context {
208+
cursor: pointer;
209+
}
210+
208211
.nav-panel-explore .context .version {
209212
display: flex;
210213
align-items: inherit;
214+
padding-right: 0.25rem;
211215
}
212216

213-
.nav-panel-explore .context .version::after {
217+
.nav-panel-explore:not(:first-child) .context .version::after {
214218
content: "";
215219
background: url(../img/chevron.svg) no-repeat center right / auto 100%;
216220
width: 1.25em;
217221
height: 0.75em;
222+
margin-right: -0.25rem;
218223
}
219224

220225
.nav-panel-explore .components {

0 commit comments

Comments
 (0)