Skip to content

Commit

Permalink
✨admin: add break-word for externalIds column
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiaPena committed Feb 14, 2025
1 parent ec3d343 commit 46d9b7b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion admin/app/components/certification-centers/list-items.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default class CertificationCenterListItems extends Component {
</td>
<td>{{certificationCenter.name}}</td>
<td>{{certificationCenter.type}}</td>
<td>{{certificationCenter.externalId}}</td>
<td class="break-word">{{certificationCenter.externalId}}</td>
</tr>
{{/each}}
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion admin/app/components/sessions/list-items.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export default class ListItems extends Component {
</LinkTo>
</td>
<td headers="certification-center-name">{{session.certificationCenterName}}</td>
<td headers="session-external-id">{{session.certificationCenterExternalId}}</td>
<td class="break-word table__column" headers="session-external-id">{{session.certificationCenterExternalId}}</td>
{{#if session.certificationCenterType}}
<td headers="certification-center-category" class="session-list__item--align-center">
{{session.certificationCenterType}}
Expand Down
2 changes: 1 addition & 1 deletion admin/app/components/team/list.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default class List extends Component {
<tr aria-label={{concat member.firstName " " member.lastName}}>
<td>{{member.firstName}}</td>
<td>{{member.lastName}}</td>
<td>{{member.email}}</td>
<td class="break-word">{{member.email}}</td>
<td>
{{#if member.isInEditionMode}}
<PixSelect
Expand Down
4 changes: 4 additions & 0 deletions admin/app/styles/globals/tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,7 @@ td.td--bold {
text-align: center;
border-top: 2px solid var(--pix-neutral-100);
}

.break-word {
word-break: break-word;
}

0 comments on commit 46d9b7b

Please sign in to comment.