mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
Tweaks to column sizes for events and a way to show new event icons for feature flag
- Has better column widths and fixed a bug with the time one - Now allows to show alternative icons for feature flag refs https://github.com/TryGhost/Team/issues/1851
This commit is contained in:
parent
b01a56e057
commit
22b0586667
@ -81,7 +81,7 @@ export default class ParseMemberEventHelper extends Helper {
|
|||||||
icon = 'comment';
|
icon = 'comment';
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'event-' + icon;
|
return 'event-' + icon + (this.feature.get('memberAttribution') ? '--feature-attribution' : '');
|
||||||
}
|
}
|
||||||
|
|
||||||
getAction(event, hasMultipleNewsletters) {
|
getAction(event, hasMultipleNewsletters) {
|
||||||
|
@ -102,15 +102,20 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.gh-members-activity.feature-memberAttribution .gh-list-scrolling thead th:nth-child(2) {
|
.gh-members-activity.feature-memberAttribution .gh-list-scrolling thead th:nth-child(2) {
|
||||||
width: 25%;
|
width: 58%;
|
||||||
}
|
|
||||||
|
|
||||||
.gh-members-activity.feature-memberAttribution .gh-list-scrolling thead th:nth-child(3) {
|
|
||||||
width: 35%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-members-activity.feature-memberAttribution .gh-list-scrolling thead th:last-child {
|
.gh-members-activity.feature-memberAttribution .gh-list-scrolling thead th:last-child {
|
||||||
width: 15%;
|
width: 18%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gh-members-activity.gh-members-activity-single.feature-memberAttribution .gh-list-scrolling thead th:nth-child(1) {
|
||||||
|
width: 82%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gh-members-activity.gh-members-activity-single.feature-memberAttribution .gh-list-scrolling thead th:nth-child(2),
|
||||||
|
.gh-members-activity.gh-members-activity-single.feature-memberAttribution .gh-list-scrolling thead th:last-child {
|
||||||
|
width: 18%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-members-activity .gh-list-scrolling tbody .gh-list-data:last-child {
|
.gh-members-activity .gh-list-scrolling tbody .gh-list-data:last-child {
|
||||||
@ -158,7 +163,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.gh-members-activity-description.feature-memberAttribution a {
|
.gh-members-activity-description.feature-memberAttribution a {
|
||||||
font-weight: 500;
|
font-weight: 400;
|
||||||
color: var(--midgrey) !important;
|
color: var(--midgrey) !important;
|
||||||
transition: all 150ms ease;
|
transition: all 150ms ease;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user