Skip to content

Commit

Permalink
Select <td> element of encrypted submission using class, not attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-white committed Aug 14, 2019
1 parent 8426ec2 commit d792c70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/submission/row.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ except according to the terms contained in the LICENSE file.
</td>
</template>
<template v-else-if="fieldColumns.length !== 0">
<td :colspan="fieldColumns.length">
<td class="encrypted-data" :colspan="fieldColumns.length">
<span class="icon-lock"></span>
<span class="encryption-message">Data preview is not available due to
encryption.</span>
Expand Down Expand Up @@ -210,7 +210,7 @@ $icon-lock-margin-right: 12px;
}

~ .encrypted-submission {
td[colspan] {
.encrypted-data {
position: relative;
}

Expand Down

0 comments on commit d792c70

Please sign in to comment.