mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-26 15:39:37 +00:00
Merge remote-tracking branch 'origin/unstable' into unstable
This commit is contained in:
commit
c07c7701dd
@ -163,7 +163,12 @@ class ItemCard extends React.Component<IProps, IState> {
|
||||
</div>
|
||||
|
||||
<button className={"ObjectCard_Submit"} onClick={this.addToInventory.bind(this)}>
|
||||
<TextState initial={connected} event={"connected"} text1={"Copy Command"} text2={"Add to Inventory"} />
|
||||
<TextState
|
||||
initial={connected}
|
||||
event={"connected"}
|
||||
text1={"Copy Command"}
|
||||
text2={"Add to Inventory"}
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -69,7 +69,7 @@ class MiniCard extends React.Component<IProps, IState> {
|
||||
|
||||
if (scaleFactor < 1) {
|
||||
const newFontSize = fontSize * scaleFactor;
|
||||
text.style.fontSize = newFontSize + 'px';
|
||||
text.style.fontSize = newFontSize + "px";
|
||||
}
|
||||
}
|
||||
|
||||
@ -98,7 +98,9 @@ class MiniCard extends React.Component<IProps, IState> {
|
||||
)}
|
||||
|
||||
{(!this.state.loaded || !this.state.icon) && (
|
||||
<p className={"MiniCard_Label"} ref={this.textRef}>{this.props.data.name}</p>
|
||||
<p className={"MiniCard_Label"} ref={this.textRef}>
|
||||
{this.props.data.name}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user