fix(filesPanel): refine item info styles
This commit is contained in:
parent
7dbda74fcc
commit
78a0155acf
2 changed files with 4 additions and 8 deletions
|
@ -150,7 +150,7 @@
|
||||||
.theme-default #browser .item-info {
|
.theme-default #browser .item-info {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
border: dashed 1px #7f8c8d;
|
border-top: dashed 1px #7f8c8d;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-default #browser .error {
|
.theme-default #browser .error {
|
||||||
|
|
|
@ -496,18 +496,14 @@ export class FilesPanel extends React.Component<Props, State, {}> {
|
||||||
<Flexbox
|
<Flexbox
|
||||||
children={List([
|
children={List([
|
||||||
<span>
|
<span>
|
||||||
<b>{`SHA1: `}</b>
|
<div className="label">{`SHA1: `}</div>
|
||||||
<input type="text" readOnly={true} value={`${item.sha1}`} />
|
<input type="text" readOnly={true} value={`${item.sha1}`} />
|
||||||
</span>,
|
</span>,
|
||||||
<button
|
<button onClick={() => this.generateHash(itemPath)}>
|
||||||
onClick={() => this.generateHash(itemPath)}
|
|
||||||
className="black-bg white-font margin-l-m"
|
|
||||||
style={{ display: "inline-block" }}
|
|
||||||
>
|
|
||||||
{this.props.msg.pkg.get("refresh")}
|
{this.props.msg.pkg.get("refresh")}
|
||||||
</button>,
|
</button>,
|
||||||
])}
|
])}
|
||||||
className={`item-info`}
|
className="item-info"
|
||||||
childrenStyles={List([{}, { justifyContent: "flex-end" }])}
|
childrenStyles={List([{}, { justifyContent: "flex-end" }])}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue