Skip to content
Snippets Groups Projects
Commit 30c26b8e authored by Emanuele Aina's avatar Emanuele Aina
Browse files

dashboard: Add self-links on each report


Make it easier to share a pointer to a specific report by making the
anchors more discoverable with self-links that appear on hover.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent b3121fb5
No related branches found
No related tags found
1 merge request!60dashboard: Add self-links on each report
Pipeline #298139 failed
......@@ -13,6 +13,15 @@
.nonzero {
font-weight: bold;
}
.list-group-item .self-link {
transition: visibility 1s, opacity 1s;
visibility: hidden;
opacity: 0;
}
.list-group-item:hover .self-link {
visibility: initial;
opacity: 1;
}
</style>
</head>
<body>
......@@ -66,6 +75,7 @@
{{ package.name }}
{% endif -%}
</strong>
<a class="self-link" href="#pkg-{{package.name}}"></a>
</h5>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment