fixed discussions problem

This commit is contained in:
Saifeddine ALOUI 2023-07-11 21:42:23 +02:00
parent ed9e51597d
commit 466231139e
6 changed files with 15 additions and 21 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
web/dist/assets/index-e7b9729e.css vendored Normal file

File diff suppressed because one or more lines are too long

4
web/dist/index.html vendored
View File

@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title> <title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-c4755eb8.js"></script> <script type="module" crossorigin src="/assets/index-9cc9b61c.js"></script>
<link rel="stylesheet" href="/assets/index-7b086601.css"> <link rel="stylesheet" href="/assets/index-e7b9729e.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

View File

@ -1,6 +1,6 @@
<template> <template>
<div :class="selected ? 'bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md' : ''" <div :class="selected ? 'bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md' : ''"
class=" flex flex-row sm:flex-row item-center shadow-sm gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer" class=" flex flex-row sm:flex-row flex-wrap flex-shrink: 0 item-center shadow-sm gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"
:id="'dis-' + id" @click.stop="selectEvent()"> :id="'dis-' + id" @click.stop="selectEvent()">
<!-- PRE TITLE SECTION --> <!-- PRE TITLE SECTION -->
@ -19,11 +19,8 @@
:class="loading ? 'min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ' : ' '"></div> :class="loading ? 'min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ' : ' '"></div>
</div> </div>
<!-- TITLE --> <!-- TITLE -->
<p v-if="!editTitle" :title="title" class="line-clamp-1 w-full ml-1 -mx-5">{{ title ? title === "untitled" ? "New discussion" : <p v-if="!editTitle" :title="title" class="line-clamp-1 w-4/6 ml-1 -mx-5 ">{{ title ? title === "untitled" ? "New discussion" :
title : "New discussion" }}</p> title : "New discussion" }}</p>
<input v-if="editTitle" type="text" id="title-box" ref="titleBox" <input v-if="editTitle" type="text" id="title-box" ref="titleBox"

View File

@ -78,9 +78,6 @@
<!-- SEARCH BAR --> <!-- SEARCH BAR -->
<!-- <Transition name="expand" > --> <!-- <Transition name="expand" > -->
<div v-if="isSearch" class="flex-row items-center gap-3 flex-0 w-full"> <div v-if="isSearch" class="flex-row items-center gap-3 flex-0 w-full">
<div class="p-4 pt-2 "> <div class="p-4 pt-2 ">
<div class="relative"> <div class="relative">
<div class="absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"> <div class="absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none">