File tree 2 files changed +32
-9
lines changed
2 files changed +32
-9
lines changed Original file line number Diff line number Diff line change 65
65
td {
66
66
border : 0 ;
67
67
background-color : transparent ;
68
+ padding : 10px 0 ;
68
69
}
69
70
70
71
th ,
140
141
}
141
142
}
142
143
}
144
+
145
+ & --releases {
146
+ box-sizing : border-box ;
147
+ table-layout : fixed ;
148
+ word-wrap : break-word ;
149
+
150
+ .table__version ,
151
+ .table__date {
152
+ width : 130px ;
153
+ }
154
+
155
+ .table__options {
156
+ width : 110px ;
157
+ text-align : right ;
158
+ }
159
+
160
+ @media only screen and (max-width : $tablet ){
161
+ .table__summary {
162
+ display : none ;
163
+ }
164
+ }
165
+ }
143
166
}
Original file line number Diff line number Diff line change @@ -65,26 +65,26 @@ <h1>{{ project.name }}</h1>
65
65
{% block main %}
66
66
< h2 > Releases ({{ project.releases|length }})</ h2 >
67
67
{% if project.releases %}
68
- < table class ="table table--light ">
68
+ < table class ="table table--light table--releases ">
69
69
< thead >
70
- < th > Version</ th >
71
- < th > Release Date</ th >
72
- < th > Summary</ th >
73
- < th > </ th >
70
+ < th class =" table__version " > Version</ th >
71
+ < th class =" table__date " > Release Date</ th >
72
+ < th class =" table__summary " > Summary</ th >
73
+ < th class =" table__options " > </ th >
74
74
</ thead >
75
75
< tbody >
76
76
{% for release in project.releases %}
77
77
< tr >
78
- < td > < a href ="TODO: link to release edit page "> {{ release.version }}</ a > </ td >
79
- < td > < time class ="-js-relative-time " datetime ="{{ release.created|format_datetime('yyyy-MM-ddTHH:mm:ss') }} "> {{ release.created|format_date()}}</ time > </ td >
80
- < td >
78
+ < td class =" table__version " > < a href ="TODO: link to release edit page "> {{ release.version }}</ a > </ td >
79
+ < td class =" table__date " > < time class ="-js-relative-time " datetime ="{{ release.created|format_datetime('yyyy-MM-ddTHH:mm:ss') }} "> {{ release.created|format_date()}}</ time > </ td >
80
+ < td class =" table__summary " >
81
81
{% if release.summary %}
82
82
{{ release.summary }}
83
83
{% else %}
84
84
—
85
85
{% endif %}
86
86
</ td >
87
- < td >
87
+ < td class =" table__options " >
88
88
< div class ="dropdown ">
89
89
< button class ="dropdown__trigger button ">
90
90
Options
You can’t perform that action at this time.
0 commit comments