various: pass classes to blank sigil component

Previously, we only passed classes as properties to actual sigils.
When we were using passed classes to line up sigils,
having a blank sigil would also turn the display askew.
This commit is contained in:
Matilde Park 2020-03-11 15:44:44 -04:00
parent 8d580b4533
commit 7c0a4a35ae
5 changed files with 9 additions and 5 deletions

View File

@ -10,7 +10,9 @@ export class Sigil extends Component {
if (props.ship.length > 14) {
return (
<div className="bg-black dib" style={{width: props.size, height: props.size}}>
<div
className={"bg-black dib " + classes}
style={{width: props.size, height: props.size}}>
</div>
);
} else {

View File

@ -10,7 +10,7 @@ export class Sigil extends Component {
if (props.ship.length > 14) {
return (
<div
className="bg-black dib"
className={"bg-black dib " + classes}
style={{ width: props.size, height: props.size }}></div>
);
} else {

View File

@ -10,7 +10,7 @@ export class Sigil extends Component {
if (props.ship.length > 14) {
return (
<div
className="bg-black dib"
className={"bg-black dib " + classes}
style={{ width: props.size, height: props.size }}></div>
);
} else {

View File

@ -10,7 +10,7 @@ export class Sigil extends Component {
if (props.ship.length > 14) {
return (
<div
className="bg-black dib"
className={"bg-black dib " + classes}
style={{ width: props.size, height: props.size }}></div>
);
} else {

View File

@ -10,7 +10,9 @@ export class Sigil extends Component {
if (props.ship.length > 14) {
return (
<div className="bg-black dib" style={{ width: props.size, height: props.size }}>
<div
className={"bg-black dib " + classes}
style={{ width: props.size, height: props.size }}>
</div>
);
} else {