fix(panel_sharings): fix issues
This commit is contained in:
parent
dc8dbd7355
commit
aabde4c3d7
4 changed files with 27 additions and 28 deletions
|
@ -491,7 +491,7 @@ export class FilesPanel extends React.Component<Props, State, {}> {
|
|||
const icon = item.isDir ? (
|
||||
<RiFolder2Fill size="2rem" className="yellow0-font margin-r-m" />
|
||||
) : (
|
||||
<RiFile2Fill size="2rem" className="cyan1-font margin-r-m" />
|
||||
<RiFile2Fill size="2rem" className="highlight-font margin-r-m" />
|
||||
);
|
||||
|
||||
const modTimeDate = new Date(item.modTime);
|
||||
|
@ -643,7 +643,6 @@ export class FilesPanel extends React.Component<Props, State, {}> {
|
|||
const endPoints = (
|
||||
<div className={showEndpoints}>
|
||||
<Container>
|
||||
<h5 className="title-m"></h5>
|
||||
<Title
|
||||
title={this.props.msg.pkg.get("endpoints")}
|
||||
iconColor="black"
|
||||
|
@ -695,7 +694,7 @@ export class FilesPanel extends React.Component<Props, State, {}> {
|
|||
<div>
|
||||
<button
|
||||
onClick={this.mkDir}
|
||||
className="inline-block cyan1-bg white-font margin-r-m"
|
||||
className="inline-block highlight-bg white-font margin-r-m"
|
||||
>
|
||||
{this.props.msg.pkg.get("browser.folder.add")}
|
||||
</button>
|
||||
|
@ -711,7 +710,7 @@ export class FilesPanel extends React.Component<Props, State, {}> {
|
|||
<div>
|
||||
<button
|
||||
onClick={this.onClickUpload}
|
||||
className="cyan1-bg white-font"
|
||||
className="highlight-bg white-font"
|
||||
>
|
||||
{this.props.msg.pkg.get("browser.upload")}
|
||||
</button>
|
||||
|
|
|
@ -99,11 +99,11 @@ export class SharingsPanel extends React.Component<Props, State, {}> {
|
|||
|
||||
const row1 = (
|
||||
<div>
|
||||
<div className="info">
|
||||
<div className="col-l">
|
||||
<span className="title-m-wrap dark-font">{dirPath}</span>
|
||||
</div>
|
||||
|
||||
<div className="op">
|
||||
<div className="col-r">
|
||||
<Flexbox
|
||||
children={List([
|
||||
<span className="margin-r-m">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue