Fix display issue with weapons being cut off when 4 are released at once

This commit is contained in:
Matt Isenhower 2018-07-01 10:35:13 -07:00
parent a858fdde05
commit cfb0a03a5a
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@
transform: scale(1.4);
}
.new-weapon {
.new-weapons-large {
transform: scale(1.25);
}

View File

@ -1,6 +1,6 @@
<template>
<Wrapper :title="title" :time="releaseTime">
<div class="new-weapon" v-if="newWeapons">
<div :class="{ 'new-weapons-large': newWeapons.length <= 3 }" v-if="newWeapons">
<div style="display: flex; align-items: center; justify-content: center;">
<div v-for="(weapon, index) in newWeapons" style="margin: 0 20px">
<NewWeaponBox