Removed the button labels from the post rows

refs https://github.com/TryGhost/Team/issues/1965
This commit is contained in:
James Morris 2022-09-29 15:07:32 +01:00
parent 3fe51c8e9a
commit 9e51ba0c31
2 changed files with 9 additions and 5 deletions

View File

@ -178,11 +178,11 @@
<div class="gh-list-data-inner">
{{#if this.isAnalytics}}
<LinkTo @route={{this.routeForLink}} @models={{this.modelsForLink}} class="gh-post-list-cta stats {{if this.isHovered "is-hovered"}}" title="">
{{svg-jar "stats" title=""}}<span>Stats</span>
{{svg-jar "stats" title=""}}
</LinkTo>
{{else}}
<LinkTo @route={{this.routeForLink}} @models={{this.modelsForLink}} class="gh-post-list-cta edit {{if this.isHovered "is-hovered"}}" title="">
{{svg-jar "pen" title=""}}<span>Edit</span>
{{svg-jar "pen" title=""}}
</LinkTo>
{{/if}}
</div>

View File

@ -250,7 +250,7 @@ a.gh-post-list-signups.active:hover > span, a.gh-post-list-conversions.active:ho
}
.gh-post-list-button {
width: 106px;
width: 78px;
}
.gh-list .gh-content-entry-title {
@ -608,7 +608,7 @@ a.gh-post-list-signups.active:hover > span, a.gh-post-list-conversions.active:ho
display: none;
}
.gh-content-email-stats {
.gh-list-data a.gh-post-row-event {
display: none;
}
@ -1188,7 +1188,6 @@ a.gh-post-list-cta {
margin: -7px 16px 0 0;
padding: 1px 14px;
border: 1px solid var(--whitegrey-d1);
/* box-shadow: rgb(0 0 0 / 10%) 0px 1px 2px; */
background: var(--white);
color: var(--darkgrey);
border-radius: var(--border-radius);
@ -1199,6 +1198,11 @@ a.gh-post-list-cta {
transition: all .1s linear;
}
.gh-post-list-button a.gh-post-list-cta {
justify-content: center;
width: 56px;
}
.gh-post-analytics-header a.gh-post-list-cta {
margin-top: -14px;
margin-right: 0;