style: background image modification

This commit is contained in:
rain
2024-11-21 09:43:37 +08:00
committed by Medcl
parent 0402d4aca3
commit 56ae0f10cd
5 changed files with 4 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 120 KiB

View File

@@ -284,7 +284,7 @@ export default function ChatAI({ changeMode, inputValue }: ChatAIProps) {
{/* Main content */}
<div
className={`flex-1 flex flex-col rounded-xl overflow-hidden bg-chat_bg_light dark:bg-chat_bg_dark bg-center`}
className={`flex-1 flex flex-col rounded-xl overflow-hidden bg-chat_bg_light dark:bg-chat_bg_dark bg-cover`}
>
<motion.div
initial={{ opacity: 0, y: -20 }}

View File

@@ -59,7 +59,7 @@ export function ChatInput({
return (
<form onSubmit={handleSubmit} className="w-full rounded-xl overflow-hidden">
<div className="bg-inputbox_bg_light dark:bg-inputbox_bg_dark bg-center rounded-xl">
<div className="bg-inputbox_bg_light dark:bg-inputbox_bg_dark bg-cover rounded-xl">
{/* Search Bar */}
<div className="relative">
<div className="p-[13px] flex items-center bg-white dark:bg-[#202126] rounded-xl transition-all">

View File

@@ -67,7 +67,7 @@ function DropdownList({ selected, suggests, isSearchComplete }: DropdownListProp
return (
<div
ref={containerRef}
className="h-[calc(100vh-100px)] mt-2.5 pb-10 flex flex-col bg-search_bg_light dark:bg-chat_bg_dark bg-center rounded-xl overflow-hidden focus:outline-none"
className="h-[calc(100vh-100px)] mt-2.5 pb-10 flex flex-col bg-search_bg_light dark:bg-chat_bg_dark bg-cover rounded-xl overflow-hidden focus:outline-none"
tabIndex={0}
onKeyDown={handleKeyDown}
>

View File

@@ -119,7 +119,7 @@ function Search({ changeMode, changeInput, isChatMode }: SearchProps) {
className={`min-h-screen flex items-start justify-center rounded-xl overflow-hidden`}
>
<div className="w-full rounded-xl overflow-hidden">
<div className="bg-inputbox_bg_light dark:bg-inputbox_bg_dark bg-center rounded-xl">
<div className="bg-inputbox_bg_light dark:bg-inputbox_bg_dark bg-cover rounded-xl">
{/* Search Bar */}
<div className="relative">
<div className="p-[13px] flex items-center dark:text-[#D8D8D8] bg-white dark:bg-[#202126] rounded-xl transition-all">