From 7ac5a4766dbb1e327112f806b95f733d8848fc1a Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Wed, 1 Nov 2023 12:55:05 -0700 Subject: [PATCH] Match spacing of navigation header pane in config vs search/chat pages --- src/khoj/interface/web/assets/khoj.css | 2 +- src/khoj/interface/web/base_config.html | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/khoj/interface/web/assets/khoj.css b/src/khoj/interface/web/assets/khoj.css index 88a0a59d..a0146705 100644 --- a/src/khoj/interface/web/assets/khoj.css +++ b/src/khoj/interface/web/assets/khoj.css @@ -146,9 +146,9 @@ img.circle { width: 40px; height: 40px; vertical-align: text-top; + padding: 3px; } - @media screen and (max-width: 700px) { .khoj-nav-dropdown-content { display: block; diff --git a/src/khoj/interface/web/base_config.html b/src/khoj/interface/web/base_config.html index 92e0ec27..99066812 100644 --- a/src/khoj/interface/web/base_config.html +++ b/src/khoj/interface/web/base_config.html @@ -38,6 +38,14 @@ display: grid; grid-template-columns: 1fr min(70vw, 100%) 1fr; } + .khoj-header { + padding: 14px 0; + } + img.circle { + width: 49px; + height: 49px; + } + .page { display: grid; grid-auto-flow: row; @@ -263,6 +271,9 @@ div.khoj-header-wrapper{ grid-template-columns: auto; } + div.khoj-header { + padding: 14px 10px; + } }