Skip to content

Commit 199aee0

Browse files
Nik Samokhvalovclaude
authored andcommitted
Fix mobile nav: full-width buttons, spacing, remove DBLab pricing
- Make mobile menu buttons full-width (was 162px) - Fix vertical alignment in navbar (hamburger, logo, text) - Increase spacing between hamburger menu and logo - Remove "DBLab pricing" from Products dropdown (redundant with Pricing link) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 080c55f commit 199aee0

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

docusaurus.config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,6 @@ module.exports = {
154154
label: 'DBLab Engine',
155155
to: '/products/dblab_engine'
156156
},
157-
{
158-
label: 'DBLab pricing',
159-
to: '/pricing'
160-
},
161157
{
162158
label: 'Zero-downtime upgrades',
163159
to: '/products/postgres-ai-zdu'

src/css/custom.css

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ html[data-theme="dark"] .sign-in-button {
914914

915915
.start-free-button, .sign-in-button {
916916
display: flex;
917-
width: 162px;
917+
width: 100%;
918918
justify-content: center;
919919
}
920920
}
@@ -1180,14 +1180,25 @@ html body > div:first-child {
11801180
* Exception to the 13px base font: on mobile, controls are larger
11811181
* so we increase the logo/title to maintain visual balance
11821182
*/
1183+
.navbar__inner {
1184+
align-items: center !important;
1185+
}
1186+
1187+
.navbar__toggle {
1188+
display: flex !important;
1189+
align-items: center !important;
1190+
}
1191+
11831192
.navbar__logo {
11841193
width: 40px !important;
11851194
height: 40px !important;
11861195
margin-right: 0.5rem !important;
11871196
}
11881197

11891198
.navbar__brand {
1190-
margin-left: 0.5rem !important;
1199+
margin-left: 1rem !important;
1200+
display: flex !important;
1201+
align-items: center !important;
11911202
}
11921203

11931204
.navbar .navbar__title,

0 commit comments

Comments
 (0)