Updated Dashboard spacings

This commit is contained in:
Peter Zimon 2022-05-03 17:08:30 +02:00
parent 3996455aa1
commit 300cd79d3e
2 changed files with 6 additions and 5 deletions

View File

@ -2,7 +2,7 @@
<article class="gh-dashboard5-resource-box"> <article class="gh-dashboard5-resource-box">
{{#if (not (or this.loading this.error))}} {{#if (not (or this.loading this.error))}}
<a href="{{this.resource.url}}" target="_blank" class="gh-dashboard5-resource-thumbnail" rel="noopener noreferrer" style={{html-safe (concat "background-image: url(" this.resource.feature_image ")")}}></a> <a href="{{this.resource.url}}" target="_blank" class="gh-dashboard5-resource-thumbnail" rel="noopener noreferrer" style={{html-safe (concat "background-image: url(" this.resource.feature_image ")")}} aria-label="Resource link"></a>
<div class="gh-dashboard5-resource-body"> <div class="gh-dashboard5-resource-body">
<div> <div>
<div class="gh-dashboard5-resource-title"> <div class="gh-dashboard5-resource-title">

View File

@ -279,7 +279,7 @@ Dashboard v5 Layout */
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: flex-start; align-items: flex-start;
justify-content: center justify-content: flex-end;
} }
.gh-dashboard5-legend-item { .gh-dashboard5-legend-item {
@ -1621,12 +1621,13 @@ Dashboard v5 Tooltips */
top: 0; top: 0;
left: 0; left: 0;
background: var(--white); background: var(--white);
border: 1px solid var(--whitegrey); border-radius: 9px;
border-radius: 8px;
padding: 12px; padding: 12px;
box-shadow: 0 3px 12px rgba(0,0,0,0.12); box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.07), 0px 85px 80px rgba(0, 0, 0, 0.07), 0px 35.511px 33.4221px rgba(0, 0, 0, 0.0503198), 0px 18.9859px 17.869px rgba(0, 0, 0, 0.0417275), 0px 10.6433px 10.0172px rgba(0, 0, 0, 0.035), 0px 5.65259px 5.32008px rgba(0, 0, 0, 0.0282725), 0px 2.35217px 2.21381px rgba(0, 0, 0, 0.0196802);
border-radius: 9px;
z-index: 9999; z-index: 9999;
pointer-events: none; pointer-events: none;
min-width: 80px;
} }
.gh-dashboard5-tooltip .gh-dashboard5-metric-value { .gh-dashboard5-tooltip .gh-dashboard5-metric-value {