mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 11:52:45 +08:00
follow-ups to 1972364: increase notification limit, make show-all a link
This commit is contained in:
parent
c25dc43f54
commit
9bc992dce4
|
@ -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" }
|
||||
);
|
||||
|
|
|
@ -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()
|
||||
})
|
||||
);
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
margin-left: 0.5em;
|
||||
}
|
||||
|
||||
button {
|
||||
.btn {
|
||||
background-color: var(--primary-very-low);
|
||||
color: var(--primary-high);
|
||||
&:hover {
|
||||
|
|
Loading…
Reference in New Issue
Block a user