Fix empty slots in GridRep

This commit is contained in:
Justin Edmund 2022-02-26 18:33:03 -08:00
parent 47ba267d5b
commit 687c4efd26
2 changed files with 9 additions and 6 deletions

View file

@ -9,8 +9,8 @@
background: white;
cursor: pointer;
.Grid .grid_weapons .grid_weapon {
box-shadow: inset 0 0 1px $grey-70;
.Grid .weapon {
box-shadow: inset 0 0 0 1px $grey-80;
}
}
@ -19,10 +19,15 @@
flex-direction: row;
flex-shrink: 0;
.weapon {
background: white;
border-radius: 4px;
}
.grid_mainhand {
margin-right: $unit;
height: 139px;
width: auto;
width: 66px;
}
.grid_weapons {
@ -36,8 +41,6 @@
}
.grid_weapon {
background: white;
border-radius: 4px;
float: left;
height: 40px;
width: 70px;

View file

@ -78,7 +78,7 @@ const GridRep = (props: Props) => {
{
Array.from(Array(numWeapons)).map((x, i) => {
return (
<li key={`${props.shortcode}-${i}`} className="grid_weapon">
<li key={`${props.shortcode}-${i}`} className="weapon grid_weapon">
{generateGridImage(i)}
</li>
)