File tree Expand file tree Collapse file tree 4 files changed +17
-11
lines changed Expand file tree Collapse file tree 4 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 50
50
display : inline-block ;
51
51
white-space : nowrap ;
52
52
vertical-align : center ;
53
- overflow : hidden ;
54
53
55
54
& :focus ,
56
55
& :hover ,
Original file line number Diff line number Diff line change 19
19
*/
20
20
21
21
.package-description {
22
- font-size : 1.1rem ;
23
- font-style : italic ;
24
- margin : 0 ;
25
- padding : 0 ;
26
- line-height : 42px ;
22
+ margin-top : -10px ;
23
+ padding : 9px 0 ;
24
+
25
+ > * {
26
+ margin-top : 10px ;
27
+ }
28
+
29
+ & __summary {
30
+ font-size : 1.1rem ;
31
+ font-style : italic ;
32
+ padding : 0 ;
33
+ }
27
34
}
Original file line number Diff line number Diff line change 13
13
-#}
14
14
15
15
{% if request.user %}
16
- < a href ="{{ request.route_path('manage.project.settings', name=project.name) }} " class ="button button--highlight "> Edit Project</ a >
16
+ < a href ="{{ request.route_path('manage.project.settings', name=project.name) }} " class ="button button--primary "> Edit Project</ a >
17
17
{% endif %}
Original file line number Diff line number Diff line change @@ -98,19 +98,19 @@ <h1 class="package-header__name">
98
98
</ div >
99
99
</ section >
100
100
101
- {% if release.summary %}
102
101
< section class ="horizontal-section horizontal-section--grey horizontal-section--thin ">
103
102
< div class ="site-container ">
104
- < div class ="split-layout split-layout--middle ">
103
+ < div class ="split-layout split-layout--middle package-description ">
105
104
{% if release.summary %}
106
- < p class ="package-description "> {{ release.summary }}</ p >
105
+ < p class ="package-description__summary "> {{ release.summary }}</ p >
106
+ {% else %}
107
+ < p class ="package-description__summary "> No project description provided.</ p >
107
108
{% endif %}
108
109
{% csi request.route_path("includes.edit-project-button", project_name=project.normalized_name) %}
109
110
{% endcsi %}
110
111
</ div >
111
112
</ div >
112
113
</ section >
113
- {% endif %}
114
114
115
115
116
116
< section >
You can’t perform that action at this time.
0 commit comments