From 88296c6f822fc2c2a0f9d2144f17dd8a5b6b9c5b Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 24 Jun 2023 15:33:01 -0700 Subject: [PATCH] Fix weapon skill overlay --- components/weapon/WeaponUnit/index.module.scss | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/components/weapon/WeaponUnit/index.module.scss b/components/weapon/WeaponUnit/index.module.scss index a9c4bf2e..711c1218 100644 --- a/components/weapon/WeaponUnit/index.module.scss +++ b/components/weapon/WeaponUnit/index.module.scss @@ -26,26 +26,26 @@ &.mainhand { display: flex; - &.editable .WeaponImage:hover { + &.editable .image:hover { transform: $scale-tall; } - .WeaponImage { + .image { width: 100%; height: auto; - .Awakening { + .awakening { width: 40%; height: auto; top: 67%; left: -3.5%; } - .Modifiers > .Skills { + .modifiers > .skills { bottom: 12%; right: -3.5%; - & > .Skill { + & > .skill { width: 25%; height: auto; } @@ -145,7 +145,7 @@ width: 100%; z-index: 2; - &.Placeholder { + &.placeholder { opacity: 0; } } @@ -163,9 +163,10 @@ } } - .WeaponName { + .name { font-size: $font-name; line-height: 1.2; + @include breakpoint(phone) { font-size: $font-tiny; }