Skip to content

Commit 792f971

Browse files
committed
sa: display draft jobs on narrower display
1 parent e2dd725 commit 792f971

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

src/SIL.XForge.Scripture/ClientApp/src/app/serval-administration/draft-jobs.component.html

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
warning
5353
}
5454
</mat-icon>
55-
<span>{{ row.status }}</span>
55+
<span class="status-label">{{ row.status }}</span>
5656
</div>
5757
</td>
5858
</ng-container>
@@ -134,12 +134,7 @@
134134
<ng-container matColumnDef="author">
135135
<th mat-header-cell *matHeaderCellDef>Author</th>
136136
<td mat-cell *matCellDef="let row">
137-
<app-owner
138-
[ownerRef]="row.userId"
139-
[includeAvatar]="true"
140-
[dateTime]="row.startTimeStamp"
141-
[showTimeZone]="true"
142-
></app-owner>
137+
<app-owner [ownerRef]="row.userId" [includeAvatar]="true"></app-owner>
143138
</td>
144139
</ng-container>
145140
<ng-container matColumnDef="buildDetails">

src/SIL.XForge.Scripture/ClientApp/src/app/serval-administration/draft-jobs.component.scss

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@use 'src/variables' as sfColors;
2+
@use 'src/xforge-common/media-breakpoints/breakpoints' as *;
23

34
.table-wrapper {
45
overflow-x: auto;
@@ -14,9 +15,10 @@ app-owner {
1415
}
1516

1617
.build-id-link {
17-
text-decoration: underline;
1818
cursor: pointer;
19-
white-space: nowrap;
19+
word-break: break-all;
20+
font-family: monospace;
21+
font-size: 0.7rem;
2022

2123
&.disabled {
2224
color: var(--sf-draft-jobs-disabled-link-color);
@@ -29,6 +31,13 @@ app-owner {
2931
display: flex;
3032
align-items: center;
3133
gap: 8px;
34+
35+
@include media-breakpoint('<', lg) {
36+
justify-content: center;
37+
.status-label {
38+
display: none;
39+
}
40+
}
3241
}
3342

3443
.status-icon {

0 commit comments

Comments
 (0)