File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed
scanpipe/templates/scanpipe Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 53
53
button .as-link {height : auto; line-height : initial; font-size : inherit;}
54
54
.file .is-boxed .has-name .file-cta {border-width : medium; border-style : dashed;}
55
55
progress .file-upload ::before {content : 'Files upload: ' attr (value)'%' ; position : absolute; top : -14% ; left : 43% ; color : black; font-weight : 400 ;}
56
- .is-clipped-list ul {--snippet-spacing : 0.95rem ; height : calc (8 * var (--snippet-spacing )); overflow : hidden;}
56
+ .is-clipped-list ul {--snippet-spacing : 0.95rem ; max- height: calc (8 * var (--snippet-spacing )); overflow : hidden;}
57
57
.tab-content {display : none;}
58
58
.tab-content .is-active {display : revert !important ;}
59
59
.breadcrumb a {padding : 0 0.25em ;}
Original file line number Diff line number Diff line change 40
40
{{ package.primary_language }}
41
41
</ td >
42
42
< td class ="is-clipped-list ">
43
- < ul >
44
- {% for resource in package.resources %}
45
- < li >
46
- < a href ="{{ resource.get_absolute_url }} " title ="{{ resource.path }} "> {{ resource.name }}</ a >
47
- </ li >
48
- {% endfor %}
49
- </ ul >
50
- {% if package.resources|length > 5 %}
51
- < button class ="button is-small is-fullwidth show-clipped "> Show {{ package.resources|length }} resources</ button >
43
+ {% if package.resources %}
44
+ < ul >
45
+ {% for resource in package.resources %}
46
+ < li >
47
+ < a href ="{{ resource.get_absolute_url }} " title ="{{ resource.path }} "> {{ resource.name }}</ a >
48
+ </ li >
49
+ {% endfor %}
50
+ </ ul >
51
+ {% if package.resources|length > 5 %}
52
+ < button class ="button is-small is-fullwidth show-clipped "> Show {{ package.resources|length }} resources</ button >
53
+ {% endif %}
52
54
{% endif %}
53
55
</ td >
54
56
</ tr >
You can’t perform that action at this time.
0 commit comments