diff --git a/public/static/css/white.css b/public/static/css/white.css index f4c260a..a7d31be 100644 --- a/public/static/css/white.css +++ b/public/static/css/white.css @@ -230,9 +230,27 @@ padding: 0 1rem; } +.theme-default #upload-list .info { + display: inline-block; + width: 70%; +} + +.theme-default #upload-list .op { + display: inline-block; + width: 30%; + text-align: right; +} + +.theme-default #upload-list .title { + font-size: 1.4rem; + line-height: 4rem; + overflow-wrap: break-word; +} + .theme-default #upload-list .desc { font-size: 1.2rem; - line-height: 2rem; + line-height: 4rem; + overflow-wrap: break-word; } .theme-default #upload-list .progress-grey { @@ -258,6 +276,18 @@ background-color: #2c3e50; } +.theme-default #sharing-list .info { + display: inline-block; + width: 70%; + overflow-wrap: break-word; +} + +.theme-default #sharing-list .op { + display: inline-block; + width: 30%; + text-align: right; +} + .theme-default #sharing-list .desc { background-color: #ecf0f1; font-size: 1.2rem; @@ -265,6 +295,7 @@ color: #697384; padding: 1rem; border: dashed 1px #95a5a6; + overflow-wrap: break-word; } .theme-default .sharing-item { diff --git a/src/client/web/src/components/panel_sharings.tsx b/src/client/web/src/components/panel_sharings.tsx index 603b501..17c6526 100644 --- a/src/client/web/src/components/panel_sharings.tsx +++ b/src/client/web/src/components/panel_sharings.tsx @@ -64,32 +64,19 @@ export class SharingsPanel extends React.Component { }?dir=${encodeURIComponent(dirPath)}`; const row1 = ( - , - {dirPath}, +
+
{dirPath}
+
, - ])} - childrenStyles={List([ - { flex: "0 0 auto", alignItems: "center" }, - { alignItems: "center", justifyContent: "flex-start" }, - { - flex: "0 0 auto", - alignItems: "center", - justifyContent: "flex-end", - }, - ])} - /> + +
+
); const elem = ( diff --git a/src/client/web/src/components/panel_uploadings.tsx b/src/client/web/src/components/panel_uploadings.tsx index 10f64a2..1629aba 100644 --- a/src/client/web/src/components/panel_uploadings.tsx +++ b/src/client/web/src/components/panel_uploadings.tsx @@ -102,35 +102,21 @@ export class UploadingsPanel extends React.Component { const elem = (
- , +
+ {fileName}  + + {FileSize(uploading.uploaded, { round: 0 })} +  /  + {FileSize(uploading.size, { + round: 0, + })} +  /  + {`${progress}%`} + +
-
- {fileName}  - - {FileSize(uploading.uploaded, { round: 0 })} -  /  - {FileSize(uploading.size, { - round: 0, - })} -  /  - {`${progress}%`} - -
, +
{op}
- op, - ])} - childrenStyles={List([ - { flex: "0 0 auto" }, - {}, - { justifyContent: "flex-end" }, - ])} - /> {progressBar} {errorInfo}