File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed
client/src/components/Panels/Upload Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,12 @@ function showDetails() {
7575 <div class =" d-flex align-items-center flex-grow-1" >
7676 <FontAwesomeIcon :icon =" statusIcon" :class =" statusClass" :spin =" uploadingCount > 0" class =" mr-2" />
7777 <div class =" progress-summary" >
78- <span class =" font-weight-bold" >{{ statusText }}</span >
79- <span class =" text-muted small ml-2" >
78+ <span class =" font-weight-bold status-text " >{{ statusText }}</span >
79+ <span class =" text-muted small ml-2 file-info " >
8080 {{ completedCount }}/{{ uploads.length }} files
81- <template v-if =" uploadingCount > 0 " > • {{ uploadedSize }} / {{ totalSize }} </template >
81+ </span >
82+ <span class =" text-muted small ml-2 size-info" :class =" { invisible: uploadingCount === 0 }" >
83+ • {{ uploadedSize }} / {{ totalSize }}
8284 </span >
8385 </div >
8486 </div >
@@ -132,7 +134,25 @@ function showDetails() {
132134.progress-summary {
133135 display : flex ;
134136 align-items : center ;
135- flex-wrap : wrap ;
137+ flex-wrap : nowrap ;
138+ min-width : 0 ;
139+ }
140+
141+ .status-text {
142+ white-space : nowrap ;
143+ }
144+
145+ .file-info {
146+ white-space : nowrap ;
147+ }
148+
149+ .size-info {
150+ white-space : nowrap ;
151+ min-width : 120px ;
152+
153+ & .invisible {
154+ visibility : hidden ;
155+ }
136156}
137157
138158.progress-bar-container {
You can’t perform that action at this time.
0 commit comments