diff --git a/templates/repo/modelarts/notebook/show.tmpl b/templates/repo/modelarts/notebook/show.tmpl
index f3929ec60..0f632eab2 100755
--- a/templates/repo/modelarts/notebook/show.tmpl
+++ b/templates/repo/modelarts/notebook/show.tmpl
@@ -207,6 +207,18 @@
padding-left: 1rem;
padding-top: 0.5rem;
}
+ .dataset_nowrap_two_line{
+ word-wrap: break-word;
+ word-break: break-all;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ line-clamp: 2;
+ -webkit-line-clamp: 2;
+ text-overflow: -o-ellipsis-lastline;
+ max-height: 50px;
+ }
{{template "repo/header" .}}
@@ -437,15 +449,14 @@
{{range $.datasetDownload}}
-
- |
+ |
{{if eq .IsDelete true}}
{{.DatasetName}}({{$.i18n.Tr "dataset.file_deleted"}})
{{else}}
{{.DatasetName}}
{{end}}
|
- {{.DatasetDownloadLink}} |
+ {{.DatasetDownloadLink}} |
{{$.i18n.Tr "dataset.download_copy"}} |
{{end}}
diff --git a/web_src/js/components/images/selectImages.vue b/web_src/js/components/images/selectImages.vue
index add4553d0..5bbad1a6b 100755
--- a/web_src/js/components/images/selectImages.vue
+++ b/web_src/js/components/images/selectImages.vue
@@ -47,6 +47,7 @@
type="text"
:placeholder="i18n.image_search_placeholder"
v-model="search"
+ @keydown.enter.stop.prevent="searchName"
/>