Refined attribution table unavailable source style

- updates legend color for Unavailable to match Others as a white transparent dot
This commit is contained in:
Rishabh 2022-09-29 09:54:00 +05:30
parent 16ada37358
commit f9215cbbe4
2 changed files with 6 additions and 1 deletions

View File

@ -25,7 +25,7 @@
<div class="gh-dashboard-list-body">
{{#each this.sources as |sourceData|}}
<div class="gh-dashboard-list-item">
<div class="gh-dashboard-list-item-sub gh-dashboard-list-item-sub-source">
<div class="gh-dashboard-list-item-sub gh-dashboard-list-item-sub-source {{if (eq sourceData.source "Unavailable") "gh-dashboard-list-item-unavailable-source"}}">
<span class="gh-dashboard-list-text">{{sourceData.source}}
{{!-- <sup class="gh-dashboard-list-asterisk">*</sup> --}}
</span>

View File

@ -1145,6 +1145,11 @@ Dashboard Attribution */
background: #F5C9C2;
}
.gh-dashboard-list-item-sub.gh-dashboard-list-item-unavailable-source.gh-dashboard-list-item-sub-source::after {
background: transparent;
border: 1px solid var(--lightgrey);
}
.gh-dashboard-list-item-sub.gh-dashboard-list-item-other-source.gh-dashboard-list-item-sub-source::after {
background: transparent;
border: 1px solid var(--lightgrey);