Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
7b064558
Commit
7b064558
authored
Aug 11, 2023
by
Gillian97
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: del btn style
parent
bbbfaaff
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
DatasetCard.tsx
web/app/(commonLayout)/datasets/DatasetCard.tsx
+1
-1
list.module.css
web/app/(commonLayout)/list.module.css
+8
-0
delete.svg
web/assets/delete.svg
+0
-0
No files found.
web/app/(commonLayout)/datasets/DatasetCard.tsx
View file @
7b064558
...
@@ -51,7 +51,7 @@ const DatasetCard = ({
...
@@ -51,7 +51,7 @@ const DatasetCard = ({
<
div
className=
{
style
.
listItemHeading
}
>
<
div
className=
{
style
.
listItemHeading
}
>
<
div
className=
{
style
.
listItemHeadingContent
}
>
{
dataset
.
name
}
</
div
>
<
div
className=
{
style
.
listItemHeadingContent
}
>
{
dataset
.
name
}
</
div
>
</
div
>
</
div
>
<
span
className=
{
style
.
delete
App
Icon
}
onClick=
{
onDeleteClick
}
/>
<
span
className=
{
style
.
delete
Dataset
Icon
}
onClick=
{
onDeleteClick
}
/>
</
div
>
</
div
>
<
div
className=
{
style
.
listItemDescription
}
>
{
dataset
.
description
}
</
div
>
<
div
className=
{
style
.
listItemDescription
}
>
{
dataset
.
description
}
</
div
>
<
div
className=
{
classNames
(
style
.
listItemFooter
,
style
.
datasetCardFooter
)
}
>
<
div
className=
{
classNames
(
style
.
listItemFooter
,
style
.
datasetCardFooter
)
}
>
...
...
web/app/(commonLayout)/list.module.css
View file @
7b064558
...
@@ -97,6 +97,14 @@
...
@@ -97,6 +97,14 @@
.listItem
:hover
.actionIconWrapper
{
.listItem
:hover
.actionIconWrapper
{
@apply
!inline-flex;
@apply
!inline-flex;
}
}
.deleteDatasetIcon
{
@apply
hidden
grow-0
shrink-0
basis-8
w-8
h-8
rounded-lg
transition-colors
duration-200
ease-in-out
bg-white
border
border-gray-200
hover
:
bg-gray-100
bg-center
bg-no-repeat
;
background-size
:
16px
;
background-image
:
url('~@/assets/delete.svg')
;
}
.listItem
:hover
.deleteDatasetIcon
{
@apply
block;
}
.listItemDescription
{
.listItemDescription
{
@apply
mb-3
px-[14px]
h-9
text-xs
leading-normal
text-gray-500
line-clamp-2;
@apply
mb-3
px-[14px]
h-9
text-xs
leading-normal
text-gray-500
line-clamp-2;
...
...
web/a
pp/(commonLayout)/apps/a
ssets/delete.svg
→
web/assets/delete.svg
View file @
7b064558
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment