Fixed some layout issues

This commit is contained in:
Choco
2023-04-01 20:55:41 +08:00
parent fc69c6dffe
commit 5522a24f2f
3 changed files with 2 additions and 3 deletions

View File

@@ -544,6 +544,7 @@ a {
height: 100%;
overflow: hidden;
transition: all .5s ease-in-out;
z-index: 2;
}
.users-bar.active {

View File

@@ -67,8 +67,7 @@ $(document).ready(function () {
$('body').click(function (event) {
var $target = $(event.target);
if (!$target.closest(".search-contrainer").is('.search-contrainer') && $('#search-result-list').css("display") != 'none') {
if (!$target.closest(".search-container").length && !$target.is("#search-input") && $('#search-result-list').css("display") != 'none') {
$("#search-result-list").fadeOut(200);
}

View File

@@ -9,7 +9,6 @@ import json
import os
import asyncio
import functools
import threading
load_dotenv()