mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Updated mentions dashboard widget design
refs https://github.com/TryGhost/Team/issues/2481
This commit is contained in:
parent
76640d9b7e
commit
fb3347bc64
2 changed files with 3 additions and 7 deletions
|
@ -11,6 +11,6 @@ export default class Recents extends Component {
|
|||
|
||||
@action
|
||||
async loadData() {
|
||||
this.mentions = await this.store.query('mention', {limit: 4, order: 'created_at desc'});
|
||||
this.mentions = await this.store.query('mention', {limit: 5, order: 'created_at desc'});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1557,11 +1557,6 @@ Dashboard Recents */
|
|||
grid-template-columns: 25% 25% 35% 15%;
|
||||
}
|
||||
|
||||
.gh-dashboard-recents-mentions .gh-dashboard-list-header,
|
||||
.gh-dashboard-recents-mentions .gh-dashboard-list-item {
|
||||
grid-template-columns: 20% 65% 15%;
|
||||
}
|
||||
|
||||
.gh-dashboard-recents-activity .gh-dashboard-list-title:nth-child(2),
|
||||
.gh-dashboard-recents-activity .gh-dashboard-list-item .gh-dashboard-list-item-sub:nth-child(2) {
|
||||
margin-left: -4px; /* grid layout adjustments */
|
||||
|
@ -2586,6 +2581,7 @@ Dashboard Mentions */
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.gh-dashboard-mentions-header {
|
||||
|
@ -2606,7 +2602,7 @@ Dashboard Mentions */
|
|||
grid-column-gap: 8px;
|
||||
padding: 4px 0;
|
||||
flex-direction: column;
|
||||
padding: 10px 0;
|
||||
padding: 6px 0;
|
||||
}
|
||||
|
||||
.gh-dashboard-mention-title {
|
||||
|
|
Loading…
Add table
Reference in a new issue