Skip to content

Commit d26d86c

Browse files
committed
increase max width for component title in explore panel; only apply if component has versions
1 parent 994d911 commit d26d86c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/css/nav.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,14 @@ html.is-clipped--nav {
245245
.nav-panel-explore .component .title {
246246
font-weight: var(--body-font-weight-bold);
247247
color: inherit;
248-
max-width: 50%;
249248
margin-top: 0.25rem;
250249
flex: none;
251250
}
252251

252+
.nav-panel-explore .component .title:not(:only-child) {
253+
max-width: 66.66%;
254+
}
255+
253256
.nav-panel-explore .versions {
254257
display: flex;
255258
justify-content: flex-end;

0 commit comments

Comments
 (0)