diff --git a/hera/ui/PlayerCard.tsx b/hera/ui/PlayerCard.tsx index 30a140e3..8cc2bbbd 100644 --- a/hera/ui/PlayerCard.tsx +++ b/hera/ui/PlayerCard.tsx @@ -409,7 +409,13 @@ export default memo(function PlayerCard({ )} {player.skills.size || invasions ? ( - + 0 && skillBoxWithChargeStyle, + )} + nowrap + > {[...new Set([...player.activeSkills, ...player.skills])].map( (skill) => { const { charges, requiresCrystal } = getSkillConfig(skill); @@ -642,11 +648,15 @@ const winConditionIconStyle = css` margin: 3px 6px 0 0; `; -const skillStyle = css` - padding: 13px 0 0 8px; +const skillBoxStyle = css` + padding: 9px 0 0 8px; gap: 12px; `; +const skillBoxWithChargeStyle = css` + padding-top: 13px; +`; + const fundStyle = css` margin-top: -1px; flex-shrink: 0; diff --git a/ui/ExpandableMenuButton.tsx b/ui/ExpandableMenuButton.tsx index 77d9cb25..e9e59697 100644 --- a/ui/ExpandableMenuButton.tsx +++ b/ui/ExpandableMenuButton.tsx @@ -98,7 +98,7 @@ const expandedInnerStyle = css` padding-bottom: 8px; `; -const size = 30; +const size = 28; const iconStyle = css` ${clipBorder(2)} @@ -107,8 +107,8 @@ const iconStyle = css` opacity: 0; pointer-events: none; position: absolute; - right: 0; - top: 13px; + right: 2px; + top: 10px; transform: scale(0); transition: opacity ${duration}ms ease-in-out,