Skip to content

Commit 189fa89

Browse files
committed
update docs site header and ui bug fix
1 parent c341d1d commit 189fa89

File tree

5 files changed

+26
-4
lines changed

5 files changed

+26
-4
lines changed

src/css/header.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@
88
padding-right: 0;
99
}
1010

11+
.navbar-brand-list {
12+
list-style: none;
13+
display: flex;
14+
margin: 0;
15+
padding: 0;
16+
}
17+
18+
.navbar-brand-list .brand-logo{
19+
margin-right: 10px;
20+
}
21+
1122
.navbar-brand img {
1223
height: 32px;
1324
transition: height 0.5s ease;

src/css/landing-page.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@
208208
.doc.landing-page-doc h2 {
209209
margin: 0;
210210
color: var(--color-brand-black);
211+
padding: 0;
211212
}
212213

213214
.doc.landing-page-doc h2::after {

src/img/cb-documentation.svg

Lines changed: 1 addition & 0 deletions
Loading

src/img/couchbase-logo.svg

Lines changed: 1 addition & 0 deletions
Loading

src/partials/header-content.hbs

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,18 @@
22
<div class="header-top-row">
33
<div class="container">
44
<nav class="navbar navbar-expand-md flex-nowrap justify-content-between navbar-new-top">
5-
6-
<a class="navbar-brand" href="https://www.couchbase.com">
7-
<img src="{{{uiRootPath}}}/img/couchbase-documentation-logo.svg" alt="Couchbase" />
8-
</a>
5+
<ul class="navbar-brand-list">
6+
<li class="brand-logo">
7+
<a class="navbar-brand" href="https://www.couchbase.com">
8+
<img src="{{{uiRootPath}}}/img/couchbase-logo.svg" alt="Couchbase" />
9+
</a>
10+
</li>
11+
<li>
12+
<a class="navbar-brand" href="https://docs.couchbase.com">
13+
<img src="{{{uiRootPath}}}/img/cb-documentation.svg" alt="Couchbase Documentation" />
14+
</a>
15+
</li>
16+
</ul>
917
{{! <ul class="nav navbar-nav mr-auto"></ul> }}
1018
<button class="navbar-burger" data-target="topbar-menu">
1119
<span></span>

0 commit comments

Comments
 (0)