提交 e7a1355a 编写于 作者: View Design's avatar View Design

搜索记录超出滚动

上级 8d885b7c
<template> <template>
<div class="flex-grow bg-gray-100 dark:bg-gray-900 border-r border-gray-200 dark:border-gray-800"> <div class="flex-grow overflow-hidden bg-gray-100 dark:bg-gray-900 border-r border-gray-200 dark:border-gray-800">
<div class="p-4 flex flex-col"> <div class="p-4 h-full flex flex-col">
<ILogo class="mt-2" /> <ILogo class="mt-2" />
<UButton <UButton
class="flex w-full mt-6" class="flex w-full mt-6"
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</div> </div>
</div> </div>
</UButton> </UButton>
<div class="mt-4"> <div class="flex flex-grow overflow-hidden mt-4">
<INav /> <INav />
</div> </div>
</div> </div>
......
<template> <template>
<div class="flex flex-col gap-2"> <div class="flex flex-col w-full gap-2">
<UButton <UButton
leading-icon="i-heroicons-home" leading-icon="i-heroicons-home"
color="gray" color="gray"
......
<template> <template>
<div class="flex flex-col overflow-hidden">
<div class="flex justify-between"> <div class="flex justify-between">
<UButton <UButton
class="flex-grow" class="flex-grow"
...@@ -17,7 +18,7 @@ ...@@ -17,7 +18,7 @@
@click="handleClear" @click="handleClear"
/> />
</div> </div>
<div v-if="$isSignIn" class="flex flex-col gap-2 border-l border-gray-200 dark:border-gray-800 pl-2 ml-5"> <div v-if="$isSignIn" class="flex overflow-y-auto flex-col gap-2 border-l border-gray-200 dark:border-gray-800 pl-2 ml-5">
<template v-for="(item, index) in $searchHistory" :key="index"> <template v-for="(item, index) in $searchHistory" :key="index">
<UButton <UButton
class="flex group" class="flex group"
...@@ -41,6 +42,7 @@ ...@@ -41,6 +42,7 @@
</UButton> </UButton>
</template> </template>
</div> </div>
</div>
<UModal v-model="isOpenHistory" :ui="{ width: 'w-full sm:max-w-screen-md' }"> <UModal v-model="isOpenHistory" :ui="{ width: 'w-full sm:max-w-screen-md' }">
<div class="flex items-center p-2"> <div class="flex items-center p-2">
<UInput <UInput
......
<template> <template>
<div class="flex min-h-screen"> <div class="flex min-h-screen">
<div class="fixed top-0 w-64 hidden md:flex flex-col min-h-screen"> <div class="fixed top-0 w-64 hidden md:flex flex-col h-screen">
<IAside /> <IAside />
</div> </div>
<div class="w-full ml-0 md:ml-64 bg-white dark:bg-black flex flex-grow"> <div class="w-full ml-0 md:ml-64 bg-white dark:bg-black flex flex-grow">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册