mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 11:33:41 +03:00
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:
parent
8d580b4533
commit
7c0a4a35ae
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user