chore: list models query

This commit is contained in:
jialin
2024-08-09 10:26:46 +08:00
parent ab8483fc42
commit 8490e32ef1
14 changed files with 669 additions and 114 deletions
@@ -0,0 +1,35 @@
.hf-model-file {
display: flex;
flex-direction: column;
padding: 10px;
border: 1px solid var(--ant-color-border);
border-radius: var(--border-radius-base);
&:hover {
background-color: var(--color-fill-sider);
}
&.active {
background-color: var(--color-fill-sider);
}
.title {
margin-bottom: 10px;
}
.tag-item {
display: flex;
align-items: center;
justify-content: center;
padding: 2px 4px;
border-radius: 4px;
font-size: 12px;
border: 1px solid var(--ant-color-border);
color: var(--ant-color-text-secondary);
}
.btn {
display: flex;
justify-content: flex-end;
}
}
+3 -10
View File
@@ -1,26 +1,19 @@
.search-result-wrap {
background-color: rgba(255, 255, 255, 100%);
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 123px;
padding: 16px;
border-radius: 0 0 var(--border-radius-base) var(--border-radius-base);
box-shadow: inset 0 -10px 10px rgba(5, 5, 5, 10%);
z-index: 100;
overflow-y: auto;
}
.search-bar {
display: flex;
position: absolute;
// position: absolute;
z-index: 100;
left: 0;
right: 0;
padding: 20px;
background: #fff;
border-bottom: 1px solid var(--ant-color-split);
box-shadow: 0 1px 2px rgba(5, 5, 5, 5%);
// border-bottom: 1px solid var(--ant-color-split);
// box-shadow: 0 1px 2px rgba(5, 5, 5, 5%);
padding-top: 0;
}