File tree Expand file tree Collapse file tree 3 files changed +52
-2
lines changed
packages/ui/src/elements/BulkUpload Expand file tree Collapse file tree 3 files changed +52
-2
lines changed Original file line number Diff line number Diff line change 33
33
width : calc (var (--base ) * 1.2 );
34
34
height : calc (var (--base ) * 1.2 );
35
35
36
+ svg {
37
+ max-width : 1rem ;
38
+ }
39
+
36
40
& :hover {
37
41
background-color : var (--theme-elevation-200 );
38
42
}
Original file line number Diff line number Diff line change 192
192
display : none ;
193
193
margin : 0 ;
194
194
padding-block : 0 ;
195
+
196
+ & __text {
197
+ display : none ;
198
+ }
195
199
}
196
200
197
201
& __header__mobileDocActions {
245
249
246
250
& __headerTopRow {
247
251
border-top : 1px solid var (--theme-border-color );
248
- padding-block : calc (var (--base ) * 0.8 );
252
+ padding-block : 0 calc (var (--base ) * 0.8 ) 0 ;
253
+ }
254
+
255
+ & __header__text {
256
+ display : none ;
257
+ }
258
+
259
+ & __header__actions {
260
+ flex-grow : 2 ;
261
+ display : flex ;
262
+ justify-content : flex-end ;
249
263
}
250
264
251
265
& __header__mobileDocActions {
268
282
269
283
& __toggler {
270
284
padding-right : 0 ;
271
- display : block ;
285
+ padding-left : 0 ;
286
+ padding-top : calc (var (--base ) * 0.8 );
287
+ padding-bottom : calc (var (--base ) * 0.8 );
288
+ display : flex ;
289
+ justify-content : flex-end ;
290
+ flex-grow : 1 ;
291
+
292
+ .btn__label {
293
+ width : 100% ;
294
+ display : flex ;
295
+ align-items : center ;
296
+ justify-content : space-between ;
297
+ }
298
+
299
+ & __text {
300
+ display : flex ;
301
+ }
302
+
303
+ svg {
304
+ max-width : 1.5rem ;
305
+ }
306
+
307
+ .btn__content {
308
+ width : 100% ;
309
+ }
272
310
}
273
311
274
312
.btn {
Original file line number Diff line number Diff line change @@ -98,6 +98,14 @@ export function FileSidebar() {
98
98
className = { `${ baseClass } __toggler` }
99
99
onClick = { ( ) => setShowFiles ( ( prev ) => ! prev ) }
100
100
>
101
+ < span className = { `${ baseClass } __toggler__label` } >
102
+ < strong
103
+ title = { `${ totalFileCount } ${ t ( totalFileCount > 1 ? 'upload:filesToUpload' : 'upload:fileToUpload' ) } ` }
104
+ >
105
+ { totalFileCount } { ' ' }
106
+ { t ( totalFileCount > 1 ? 'upload:filesToUpload' : 'upload:fileToUpload' ) }
107
+ </ strong >
108
+ </ span >
101
109
< ChevronIcon direction = { showFiles ? 'down' : 'up' } />
102
110
</ Button >
103
111
You can’t perform that action at this time.
0 commit comments