Skip to content

Commit

Permalink
NAS-131317: Suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aiden3c committed Oct 14, 2024
1 parent c4c7404 commit edc649d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
@if (column.headerTooltip) {
<ix-tooltip
class="tooltip"
[message]="column.headerTooltip | translate">
[message]="column.headerTooltip | translate"
(click)="$event.stopPropagation()">
</ix-tooltip>
}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tr {
text-overflow: ellipsis;
white-space: nowrap;

@media(max-width: $breakpoint-sm) {
@media (max-width: $breakpoint-sm) {
padding: 0 8px;
}

Expand All @@ -28,3 +28,12 @@ tr {
}
}
}

.title {
align-items: center;
display: flex;
}

ix-tooltip {
margin-left: 8px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ describe('SmartTestResultListComponent', () => {

it('should show table rows', async () => {
const expectedRows = [
['Disk', 'Description', 'Status', 'Remaining', 'Power On Hours Ago', 'LBA of First Error'],
['Disk', 'Description', 'Status', 'Remaining', expect.stringContaining('Power On Hours Ago'), 'LBA of First Error'],
['sda', 'Background long', 'SUCCESS', '0%', 'N/A', 'No errors'],
['sda', 'Background short', 'SUCCESS', '50%', 'N/A', 'No errors'],
['sda', 'Background short', 'SUCCESS', 'Completed', 'N/A', 'No errors'],
Expand Down

0 comments on commit edc649d

Please sign in to comment.