From 66b0bd08777452abd05e5d9246c27f2a8096ca13 Mon Sep 17 00:00:00 2001 From: Joshua Seigler Date: Sat, 14 Jun 2025 04:36:36 -0400 Subject: [PATCH] css fixes after merging 4th tree PR --- src/components/Skill/index.css | 3 +-- src/components/VaultHunter/index.js | 6 ++++-- src/index.css | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/Skill/index.css b/src/components/Skill/index.css index 65ce93e..da23dd1 100644 --- a/src/components/Skill/index.css +++ b/src/components/Skill/index.css @@ -86,7 +86,6 @@ .augment { background-color: var(--themeColor); - z-index: 0; } .augment:first-child { @@ -169,7 +168,7 @@ position: absolute; bottom: 100%; width: 20rem; - transform: translateX(calc((1 - var(--treeindex)) * 40%)); + transform: translateX(calc((0.5 - var(--treeindex) / 3) * 80%)); } .actionSkill:hover .description { diff --git a/src/components/VaultHunter/index.js b/src/components/VaultHunter/index.js index 4dd882e..2980ea7 100644 --- a/src/components/VaultHunter/index.js +++ b/src/components/VaultHunter/index.js @@ -60,8 +60,10 @@ export default class VaultHunter extends Component { const trees = Object.keys(this.state.skills).map((treeName, treeIndex) => { return ( -
- +

{ treeName }

{ Object.keys(this.state.skills[treeName]).map((tier, tierIndex) => diff --git a/src/index.css b/src/index.css index 72d8834..7b1db2c 100644 --- a/src/index.css +++ b/src/index.css @@ -5,7 +5,7 @@ --transition-duration: 300ms; --font-header: sans-serif; --font-list: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; - font-size: 1.5vw; + font-size: 1.3vw; } @media screen and (min-width: 189vh) {