refactor: disable outline for all elements (#326)

* refactor: disable outline for all elements

* refactor: modify list item hover background color
This commit is contained in:
ayangweb
2025-04-02 16:01:57 +08:00
committed by GitHub
parent a3663703e4
commit 6a9b1b53b9
2 changed files with 2 additions and 2 deletions

View File

@@ -136,7 +136,7 @@ const HistoryList: FC<HistoryListProps> = (props) => {
<li
key={_id}
className={clsx(
"flex items-center mt-1 h-10 rounded-lg cursor-pointer hover:bg-[#F8F9FA] dark:hover:bg-[#353F4D] transition",
"flex items-center mt-1 h-10 rounded-lg cursor-pointer hover:bg-[#EDEDED] dark:hover:bg-[#353F4D] transition",
{
"!bg-[#E5E7EB] dark:!bg-[#2B3444]": isActive,
}

View File

@@ -78,7 +78,7 @@
/* Base styles */
@layer base {
* {
@apply box-border border-[--border];
@apply box-border border-[--border] outline-none;
}
html {