mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 18:20:30 +08:00
Fix superfluous outer border on all lists
This also resets the fuzzy filter input when switching states in list views.
This commit is contained in:
committed by
Sebastian Martinez
parent
ae3258d7cb
commit
b11ada847f
@@ -47,7 +47,6 @@
|
||||
justify-content: space-between;
|
||||
gap: 0.25rem;
|
||||
min-height: 5rem;
|
||||
min-width: 440px;
|
||||
background-color: var(--color-background-float);
|
||||
padding: 1rem;
|
||||
cursor: pointer;
|
||||
@@ -66,13 +65,13 @@
|
||||
margin-right: 1rem;
|
||||
}
|
||||
.patch-teaser:first-of-type {
|
||||
clip-path: var(--1px-top-corner-fill);
|
||||
clip-path: var(--2px-top-corner-fill);
|
||||
}
|
||||
.patch-teaser:last-of-type {
|
||||
clip-path: var(--1px-bottom-corner-fill);
|
||||
clip-path: var(--2px-bottom-corner-fill);
|
||||
}
|
||||
.patch-teaser:only-of-type {
|
||||
clip-path: var(--1px-corner-fill);
|
||||
clip-path: var(--2px-corner-fill);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -85,6 +84,7 @@
|
||||
class="patch-teaser"
|
||||
style:align-items="flex-start"
|
||||
style:clip-path={focussed ? "none" : undefined}
|
||||
style:padding={focussed ? "1rem" : "20px"}
|
||||
onclick={async () => {
|
||||
if (loadPatch) {
|
||||
await loadPatch(patch.id);
|
||||
|
||||
Reference in New Issue
Block a user