follow-ups to 1972364: increase notification limit, make show-all a link

This commit is contained in:
Kris 2020-08-12 17:14:48 -04:00
parent c25dc43f54
commit 9bc992dce4
3 changed files with 7 additions and 5 deletions

View File

@ -46,7 +46,8 @@ createWidgetFrom(QuickAccessPanel, "quick-access-notifications", {
"notification",
{
recent: true,
silent: this.currentUser.enforcedSecondFactor
silent: this.currentUser.enforcedSecondFactor,
limit: 30
},
{ cacheKey: "recent-notifications" }
);

View File

@ -102,11 +102,12 @@ export default createWidget("quick-access-panel", {
if (!this.hideBottomItems()) {
bottomItems.push(
this.attach("button", {
// intentionally a link so it can be ctrl clicked
this.attach("link", {
title: "view_all",
icon: "chevron-down",
className: "show-all",
url: this.showAllHref()
className: "btn btn-default btn-icon no-text show-all",
href: this.showAllHref()
})
);
}

View File

@ -75,7 +75,7 @@
margin-left: 0.5em;
}
button {
.btn {
background-color: var(--primary-very-low);
color: var(--primary-high);
&:hover {