Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: #365 Fixing report's column width
  • Loading branch information
Juan Gabriel Guzman committed Jun 15, 2020
commit 4468d7dbcefcd461f01be7f8e4204cfdaa766a97
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<thead class="thead-blue">
<tr class="d-flex">
<th class="col md-col">User email</th>
<th class="col md-col">Date</th>
<th class="col sm-col">Date</th>
<th class="col sm-col">Duration</th>
<th class="col md-col">Project</th>
<th class="col sm-col">Activity</th>
<th class="col sm-col">Ticket</th>
<th class="col md-col">Description</th>
<th class="col md-col">Technologies</th>
<th class="col md-col">Activity</th>
<th class="col lg-col">Ticket</th>
<th class="col lg-col">Description</th>
<th class="col lg-col">Technologies</th>
</tr>
</thead>
<tbody>
Expand All @@ -19,13 +19,13 @@
*ngFor="let entry of data"
>
<td class="col md-col multiline-col"> {{ entry.owner_email }} </td>
<td class="col md-col"> {{ entry.start_date | date: 'dd/MM/yyyy' }} </td>
<td class="col sm-col"> {{ entry.start_date | date: 'dd/MM/yyyy' }} </td>
<td class="col sm-col"> {{ entry.end_date | substractDate: entry.start_date }} </td>
<td class="col md-col"> {{ entry.project_name }} </td>
<td class="col sm-col"> {{ entry.activity_name }} </td>
<td class="col sm-col"> {{ entry.uri }} </td>
<td class="col md-col multiline-col"> {{ entry.description }} </td>
<td class="col md-col multiline-col"> {{ entry.technologies }} </td>
<td class="col md-col"> {{ entry.activity_name }} </td>
<td class="col lg-col"> {{ entry.uri }} </td>
<td class="col lg-col multiline-col"> {{ entry.description }} </td>
<td class="col lg-col multiline-col"> {{ entry.technologies }} </td>
</tr>
</tbody>
</table>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
.col{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.sm-col{
max-width: 6.2em
width: 6em;
max-width: 8em;
}
.md-col{
max-width: 8em
width: 9em;
}

.lg-col{
width: 15em;
}

.multiline-col{
word-break: break-all;

width: 12em;
overflow: hidden;
white-space: normal;
}