This repository was archived by the owner on Oct 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +21
-24
lines changed Expand file tree Collapse file tree 1 file changed +21
-24
lines changed Original file line number Diff line number Diff line change 24
24
<div class =" left" ></div >
25
25
<div class =" right" >
26
26
<div class =" scroll-div" >
27
- <table >
28
- <thead >
29
- <th style =" width : 20px " >
30
- <input id =" file-selection-all" type =" checkbox" v-model =" selectAll" >
31
- </th >
32
- <th >{{ $t("message.newTask.filename") }}</th >
33
- <th style =" width : 60px " >{{ $t("message.newTask.filetype") }}</th >
34
- <th style =" width : 60px " >{{ $t("message.newTask.size") }}</th >
35
- </thead >
36
- <tbody v-for =" file in filesInTorrent" :key =" file.index" >
37
- <td style =" width : 20px " >
38
- <input type =" checkbox" v-model =" file.selected" >
39
- </td >
40
- <td >{{file.name}}</td >
41
- <td style =" width : 60px " >{{ file.extension }}</td >
42
- <td style =" width : 60px " >{{ bytesToString(file.size, 1) }}</td >
43
- </tbody >
44
- </table >
27
+ <table >
28
+ <thead >
29
+ <th style =" width : 20px " >
30
+ <input id =" file-selection-all" type =" checkbox" v-model =" selectAll" >
31
+ </th >
32
+ <th >{{ $t("message.newTask.filename") }}</th >
33
+ <th style =" width : 60px " >{{ $t("message.newTask.filetype") }}</th >
34
+ <th style =" width : 60px " >{{ $t("message.newTask.size") }}</th >
35
+ </thead >
36
+ <tbody v-for =" file in filesInTorrent" :key =" file.index" >
37
+ <td style =" width : 20px " >
38
+ <input type =" checkbox" v-model =" file.selected" >
39
+ </td >
40
+ <td >{{file.name}}</td >
41
+ <td style =" width : 60px " >{{ file.extension }}</td >
42
+ <td style =" width : 60px " >{{ bytesToString(file.size, 1) }}</td >
43
+ </tbody >
44
+ </table >
45
45
</div >
46
46
<div class =" footnote" >
47
47
<div class =" left" >
@@ -222,24 +222,21 @@ export default {
222
222
<style lang="css" src="@/styles/option.css " scoped></style >
223
223
<style lang="css" scoped>
224
224
table {
225
+ table-layout : fixed ;
225
226
width : 100% ;
226
227
text-align : left ;
227
228
margin : auto ;
228
229
font-size : 14px ;
229
230
color : #444 ;
230
231
}
231
232
232
- thead , tbody {
233
- max-width : 0 ;
233
+ th , td {
234
+ padding : 4 px 8 px ;
234
235
overflow : hidden ;
235
236
text-overflow : ellipsis ;
236
237
white-space : nowrap ;
237
238
}
238
239
239
- th , td {
240
- padding : 4px 8px ;
241
- }
242
-
243
240
th {
244
241
position : sticky ;
245
242
top : 0 ;
You can’t perform that action at this time.
0 commit comments