fix(filesPanel): refine item info styles

This commit is contained in:
hexxa 2021-11-29 16:31:05 +08:00 committed by Hexxa
parent 7dbda74fcc
commit 78a0155acf
2 changed files with 4 additions and 8 deletions

View file

@ -496,18 +496,14 @@ export class FilesPanel extends React.Component<Props, State, {}> {
<Flexbox
children={List([
<span>
<b>{`SHA1: `}</b>
<div className="label">{`SHA1: `}</div>
<input type="text" readOnly={true} value={`${item.sha1}`} />
</span>,
<button
onClick={() => this.generateHash(itemPath)}
className="black-bg white-font margin-l-m"
style={{ display: "inline-block" }}
>
<button onClick={() => this.generateHash(itemPath)}>
{this.props.msg.pkg.get("refresh")}
</button>,
])}
className={`item-info`}
className="item-info"
childrenStyles={List([{}, { justifyContent: "flex-end" }])}
/>
</div>