Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 49b20d9

Browse files
minor: improve styling
* Make links cover the entire activity * Use a different list style for some visual interest * Remove the default link treatment on text because it is a little overwhelming These are some fairly arbitrary aesthetic choices, happy to change!
1 parent a674d8a commit 49b20d9

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

‎src/app/component/matrix/matrix.component.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,30 @@
2929
font-weight: bold;
3030
}
3131

32+
.mat-cell ul.activity-list {
33+
list-style-type: disclosure-closed;
34+
}
35+
36+
.mat-cell-activity {
37+
margin-bottom: 1em;
38+
position: relative;
39+
}
40+
.mat-cell-activity a.activity-title {
41+
text-decoration: unset;
42+
margin: 0;
43+
}
44+
.mat-cell-activity a::after {
45+
content: "";
46+
position: absolute;
47+
top: 0;
48+
left: 0;
49+
width: 100%;
50+
height: 100%;
51+
}
52+
.mat-cell-activity a.activity-title:link {
53+
color: inherit;
54+
}
55+
3256
.table-small-width {
3357
width: 5%;
3458
max-width: 9%;

‎src/app/component/matrix/matrix.component.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,12 @@
6161
<ng-container matColumnDef="{{ lvl }}">
6262
<th mat-header-cell *matHeaderCellDef>{{ levels[i] }}</th>
6363
<td mat-cell *matCellDef="let element">
64-
<ul>
65-
<li *ngFor="let activity of element[lvl]; index as j">
64+
<ulclass="activity-list">
65+
<li class="mat-cell-activity" *ngFor="let activity of element[lvl]; index as j">
6666
<div>
6767
<div>
6868
<a
69+
class="activity-title"
6970
href=" {{
7071
navigate(
7172
YamlObject[element.Dimension][element.SubDimension][

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /