-
![]()
-
{{ ((tree.count / parentCount!!) * 100).toFixed(0) }}%
@@ -268,36 +264,23 @@ function handleRefresh() {
flex-direction: column;
align-items: center;
width: fit-content;
-}
-
-.item-tree-img {
- width: 48px;
- height: 48px;
- border-radius: 4px;
- border: 1px solid var(--color-on-surface);
-}
-
-.item-tree-pickrate {
- font-size: 0.65rem;
- color: var(--color-on-surface);
- opacity: 0.6;
- margin-top: 2px;
+ position: relative;
+ z-index: 10;
}
.item-tree-children {
margin-left: 32px;
+ position: relative;
+ z-index: 1;
}
.item-tree-child {
width: fit-content;
+ position: relative;
}
+/* Mobile responsive */
@media only screen and (max-width: 900px) {
- .item-tree-img {
- width: 40px;
- height: 40px;
- }
-
.item-tree-children {
margin-left: 20px;
}
diff --git a/frontend/types/cdragon.ts b/frontend/types/cdragon.ts
index daec48e..d733c26 100644
--- a/frontend/types/cdragon.ts
+++ b/frontend/types/cdragon.ts
@@ -23,6 +23,12 @@ declare global {
id: number
iconPath: string
name?: string
+ description?: string
+ plaintext?: string
+ into?: number[]
+ from?: number[]
+ price?: number
+ priceTotal?: number
}
type SummonerSpell = {
id: number