mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
fix: some cleanup
This commit is contained in:
1 parent
72e1cf7d6a
commit
fc4d8b5ad0
2 files changed
+1
-13
No files matched your search
@@ -38,6 +38,7 @@ function Series({ avatars }: SeriesProps) {
|
|||||||
<div className="avatar-series">
|
<div className="avatar-series">
|
||||||
{avatars.slice(-MAX_CARDS).map((avatar, index) => (
|
{avatars.slice(-MAX_CARDS).map((avatar, index) => (
|
||||||
<div
|
<div
|
||||||
|
key={avatar.name}
|
||||||
className="avatar-entry"
|
className="avatar-entry"
|
||||||
style={{
|
style={{
|
||||||
filter: `brightness(${(index + 1) / count})`,
|
filter: `brightness(${(index + 1) / count})`,
|
||||||
|
|||||||
@@ -48,17 +48,6 @@ const toolStrings = strings.tools[tool.id as keyof typeof strings.tools];
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.shadow {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
|
|
||||||
border-radius: var(--space-3);
|
|
||||||
box-shadow: var(--shadow-bump);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
@@ -90,6 +79,4 @@ const toolStrings = strings.tools[tool.id as keyof typeof strings.tools];
|
|||||||
<CaretRightIcon />
|
<CaretRightIcon />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="shadow"></div>
|
|
||||||
</LinkI18n>
|
</LinkI18n>
|
||||||
Reference in new issue
Block a user