fix(filesPanel): refine item info styles
This commit is contained in:
parent
7dbda74fcc
commit
78a0155acf
2 changed files with 4 additions and 8 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue