feat: show dataset item thumbnails
This commit is contained in:
@@ -868,6 +868,19 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.explore-article-item.has-image {
|
||||
grid-template-columns: 30px minmax(0, 1fr) 76px;
|
||||
}
|
||||
|
||||
.explore-article-thumbnail {
|
||||
width: 76px;
|
||||
height: 58px;
|
||||
align-self: center;
|
||||
border-radius: 8px;
|
||||
background: var(--senlin-panel-muted);
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.explore-article-item:hover,
|
||||
.explore-article-item.active {
|
||||
background: color-mix(in srgb, var(--senlin-primary) 8%, var(--senlin-panel));
|
||||
|
||||
Reference in New Issue
Block a user