File tree Expand file tree Collapse file tree 3 files changed +37
-7
lines changed
app/shared/modals/upload-files Expand file tree Collapse file tree 3 files changed +37
-7
lines changed Original file line number Diff line number Diff line change 25
25
< div class ="file-icon ">
26
26
< i class ="bx " [ngClass] ="getIcon(file) "> </ i >
27
27
</ div >
28
- < span class ="file-name "> {{ file.name }}</ span >
28
+ < div class ="file-name ">
29
+ < span > {{ file.name }}</ span >
30
+ </ div >
29
31
< span class ="file-size "> {{ file.size | fileSize }}</ span >
30
32
</ div >
31
33
< div class ="file-actions ">
Original file line number Diff line number Diff line change 1
1
@import ' settings/_colors.scss' ;
2
2
@import ' settings/_typography.scss' ;
3
+ @import ' settings/_media.scss' ;
3
4
4
5
.modal-content {
5
- min- width : 600 px ;
6
+ width : 90 % ;
6
7
}
7
8
8
9
.form-group {
16
17
17
18
& ::-webkit-scrollbar {
18
19
width : 5px ;
20
+ height : 5px ;
21
+ border : 1px solid var (--bg-2 );
19
22
}
20
23
21
24
& ::-webkit-scrollbar-track {
44
47
gap : 1rem ;
45
48
cursor : default ;
46
49
50
+ @include width-medium {
51
+ padding : 0.5rem 0.4rem ;
52
+ gap : 0.5rem ;
53
+ }
54
+
47
55
& :hover {
48
56
background-color : var (--bg-2 );
49
57
}
54
62
gap : 1rem ;
55
63
flex : 1 ;
56
64
65
+ @include width-medium {
66
+ gap : 0.5rem ;
67
+ }
68
+
57
69
& .file-icon {
58
70
@include fs-1 ;
59
71
color : var (--fc-purple );
72
+
73
+ @include width-medium {
74
+ @include fs-2 ;
75
+ }
60
76
}
61
77
62
78
& .file-name {
63
79
@include fs-6 ;
64
80
@include fw-500 ;
65
81
color : var (--fc-primary );
66
- flex : 10 ;
82
+ text-overflow : ellipsis ;
83
+ white-space : nowrap ;
84
+ overflow : hidden ;
85
+
86
+ @include width-medium {
87
+ @include fs-7 ;
88
+ flex : 1 ;
89
+ }
67
90
}
68
91
69
92
& .file-size {
70
93
@include fs-6 ;
71
- flex : 2 ;
72
94
color : var (--fc-secondary );
95
+ margin : 0 0 0 auto ;
96
+
97
+ @include width-medium {
98
+ @include fs-7 ;
99
+ }
73
100
}
74
101
}
75
102
103
130
color : var (--fc-purple );
104
131
105
132
& .error {
106
- @include fs-4 ;
133
+ @include fs-5 ;
107
134
color : var (--fc-red );
108
135
}
109
136
}
Original file line number Diff line number Diff line change @@ -328,14 +328,14 @@ input {
328
328
}
329
329
330
330
.modal-content {
331
- min-width : 400px ;
332
331
display : flex ;
333
332
flex-direction : column ;
334
333
border-radius : 1rem ;
335
- max-width : 30 rem ;
334
+ max-width : 40 rem ;
336
335
background-color : var (--bg );
337
336
padding : 1rem ;
338
337
gap : 1.2rem ;
338
+ width : 75% ;
339
339
340
340
& .header {
341
341
display : flex ;
@@ -377,6 +377,7 @@ input {
377
377
display : flex ;
378
378
justify-content : flex-end ;
379
379
gap : 1rem ;
380
+ flex-wrap : wrap ;
380
381
}
381
382
}
382
383
}
You can’t perform that action at this time.
0 commit comments