Changing the metric to positive feedback rather than more like this

refs https://github.com/TryGhost/Team/issues/2138
This commit is contained in:
James Morris 2022-10-21 16:06:18 +01:00
parent 67c742606d
commit c2e43a0805
2 changed files with 15 additions and 4 deletions

View File

@ -92,8 +92,11 @@
{{#if this.post.showAudienceFeedback }}
<tabs.tab>
<h3><span class="hide-when-small">More </span><div class="visible-when-small">like</div><span class="hide-when-small"> this</span></h3>
<p>{{format-number this.post.count.positive_feedback}} <strong>{{this.post.sentiment}}%</strong></p>
<h3>Positive feedback</h3>
<p>
{{format-number this.post.count.positive_feedback}}
{{!-- <strong>{{this.post.sentiment}}%</strong> --}}
</p>
</tabs.tab>
<tabs.tabPanel>

View File

@ -1594,7 +1594,7 @@ a.gh-post-list-cta.stats.is-hovered:hover > * {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
padding: 8px 8px 0px;
background-color: #F7F8F9;
background: linear-gradient(360deg, #F7F8F9 -6.38%, rgba(247, 248, 249, 0) 159.57%);
box-shadow: inset 0 -1px 0 #eceef0;
}
@ -1618,7 +1618,7 @@ a.gh-post-list-cta.stats.is-hovered:hover > * {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 4px;
gap: 6px;
margin: 0;
font-size: 2.4rem;
font-weight: 600;
@ -1626,12 +1626,20 @@ a.gh-post-list-cta.stats.is-hovered:hover > * {
}
.gh-tabs-analytics strong {
display: flex;
gap: 2px;
color: #909CAB;
font-size: 1.5rem;
font-weight: 500;
line-height: 1.2;
}
.gh-tabs-analytics strong svg {
width: 16px;
height: 16px;
stroke: #909CAB;
}
.gh-tabs-analytics .gh-dashboard-list-item {
grid-template-columns: 40% 40% 20%;
}