diff --git a/src/interface/desktop/config.html b/src/interface/desktop/config.html index 9b89368b..afea6a80 100644 --- a/src/interface/desktop/config.html +++ b/src/interface/desktop/config.html @@ -302,7 +302,7 @@ div.file-element, div.folder-element { display: grid; - grid-template-columns: 1fr auto 1fr; + grid-template-columns: auto 1fr; border: 1px solid rgb(229, 229, 229); border-radius: 4px; box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.1),0px 1px 2px -1px rgba(0,0,0,0.8); diff --git a/src/interface/desktop/renderer.js b/src/interface/desktop/renderer.js index 3d8a1d4e..1e1fae32 100644 --- a/src/interface/desktop/renderer.js +++ b/src/interface/desktop/renderer.js @@ -62,12 +62,6 @@ function makeFileElement(file) { let fileElement = document.createElement("div"); fileElement.classList.add("file-element"); - let fileIconElement = document.createElement("img"); - fileIconElement.classList.add("card-icon"); - fileIconElement.src = "./assets/icons/plaintext.svg"; - fileIconElement.alt = "File"; - fileElement.appendChild(fileIconElement); - let fileNameElement = document.createElement("div"); fileNameElement.classList.add("content-name"); fileNameElement.innerHTML = file.path; @@ -90,12 +84,6 @@ function makeFolderElement(folder) { let folderElement = document.createElement("div"); folderElement.classList.add("folder-element"); - let folderIconElement = document.createElement("img"); - folderIconElement.classList.add("card-icon"); - folderIconElement.src = "./assets/icons/folder.svg"; - folderIconElement.alt = "File"; - folderElement.appendChild(folderIconElement); - let folderNameElement = document.createElement("div"); folderNameElement.classList.add("content-name"); folderNameElement.innerHTML = folder.path; diff --git a/src/khoj/interface/web/login.html b/src/khoj/interface/web/login.html index 5d40397c..2aace820 100644 --- a/src/khoj/interface/web/login.html +++ b/src/khoj/interface/web/login.html @@ -135,7 +135,7 @@ display: block; } - .login-modal-title { + div.login-modal-title { text-align: center; line-height: 28px; font-size: 24px; diff --git a/tests/conftest.py b/tests/conftest.py index 80feaaac..b20e5a7f 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -169,7 +169,7 @@ def md_content_config(): return markdown_config -@pytest.fixture(scope="session") +@pytest.fixture(scope="function") def chat_client(search_config: SearchConfig, default_user2: KhojUser): # Initialize app state state.config.search_type = search_config