refactor: remove horizontal rule from BaseHeader and adjust VadVoice component styles
This commit is contained in:
@@ -83,7 +83,6 @@ export const BaseHeader = (props: { main?: React.ComponentType | null }) => {
|
||||
{meInfo}
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -310,6 +310,7 @@ export const VadVoice = () => {
|
||||
console.log('VAD real start');
|
||||
setRealListen(true);
|
||||
},
|
||||
minSpeechMs: 1000, // 最短语音持续时间,单位毫秒,默认400ms,可以根据需要调整
|
||||
});
|
||||
|
||||
ref.current = myvad;
|
||||
@@ -407,7 +408,7 @@ export const VadVoice = () => {
|
||||
};
|
||||
return <div className="h-full flex flex-col">
|
||||
{/* Audio Recordings List */}
|
||||
<div className="flex-1 overflow-y-auto px-2 py-3 min-h-0 max-h-76 overflow-hidden">
|
||||
<div className="flex-1 overflow-y-auto px-2 py-3 overflow-hidden">
|
||||
{
|
||||
voiceList.length === 0 ? (
|
||||
<div className="text-center text-gray-400 text-sm py-8">
|
||||
|
||||
Reference in New Issue
Block a user