Fix empty slots in GridRep
This commit is contained in:
parent
47ba267d5b
commit
687c4efd26
2 changed files with 9 additions and 6 deletions
|
|
@ -9,8 +9,8 @@
|
||||||
background: white;
|
background: white;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
.Grid .grid_weapons .grid_weapon {
|
.Grid .weapon {
|
||||||
box-shadow: inset 0 0 1px $grey-70;
|
box-shadow: inset 0 0 0 1px $grey-80;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -19,10 +19,15 @@
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
||||||
|
.weapon {
|
||||||
|
background: white;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
.grid_mainhand {
|
.grid_mainhand {
|
||||||
margin-right: $unit;
|
margin-right: $unit;
|
||||||
height: 139px;
|
height: 139px;
|
||||||
width: auto;
|
width: 66px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid_weapons {
|
.grid_weapons {
|
||||||
|
|
@ -36,8 +41,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid_weapon {
|
.grid_weapon {
|
||||||
background: white;
|
|
||||||
border-radius: 4px;
|
|
||||||
float: left;
|
float: left;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
width: 70px;
|
width: 70px;
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ const GridRep = (props: Props) => {
|
||||||
{
|
{
|
||||||
Array.from(Array(numWeapons)).map((x, i) => {
|
Array.from(Array(numWeapons)).map((x, i) => {
|
||||||
return (
|
return (
|
||||||
<li key={`${props.shortcode}-${i}`} className="grid_weapon">
|
<li key={`${props.shortcode}-${i}`} className="weapon grid_weapon">
|
||||||
{generateGridImage(i)}
|
{generateGridImage(i)}
|
||||||
</li>
|
</li>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue