)}
<li className="nav-item">
<a
- className="nav-link"
+ className="nav-link d-inline-flex align-items-center d-md-inline-block"
title={i18n.t("support_lemmy")}
href={donateLemmyUrl}
>
<Icon icon="heart" classes="small" />
+ <span className="d-inline ml-1 d-md-none ml-md-0">
+ {i18n.t("support_lemmy")}
+ </span>
</a>
</li>
</ul>
<li id="navSearch" className="nav-item">
<NavLink
to="/search"
- className="nav-link"
+ className="nav-link d-inline-flex align-items-center d-md-inline-block"
title={i18n.t("search")}
onMouseUp={linkEvent(this, handleCollapseClick)}
>
<Icon icon="search" />
+ <span className="d-inline ml-1 d-md-none ml-md-0">
+ {i18n.t("search")}
+ </span>
</NavLink>
</li>
{amAdmin() && (
<li id="navAdmin" className="nav-item">
<NavLink
to="/admin"
- className="nav-link"
+ className="nav-link d-inline-flex align-items-center d-md-inline-block"
title={i18n.t("admin_settings")}
onMouseUp={linkEvent(this, handleCollapseClick)}
>
<Icon icon="settings" />
+ <span className="d-inline ml-1 d-md-none ml-md-0">
+ {i18n.t("admin_settings")}
+ </span>
</NavLink>
</li>
)}
<>
<li id="navMessages" className="nav-item">
<NavLink
- className="nav-link"
+ className="nav-link d-inline-flex align-items-center d-md-inline-block"
to="/inbox"
title={i18n.t("unread_messages", {
count: Number(this.unreadInboxCount),
onMouseUp={linkEvent(this, handleCollapseClick)}
>
<Icon icon="bell" />
+ <span className="badge badge-light d-inline ml-1 d-md-none ml-md-0">
+ {i18n.t("unread_messages", {
+ count: Number(this.unreadInboxCount),
+ formattedCount: numToSI(this.unreadInboxCount),
+ })}
+ </span>
{this.unreadInboxCount > 0 && (
<span className="mx-1 badge badge-light">
{numToSI(this.unreadInboxCount)}
{this.moderatesSomething && (
<li id="navModeration" className="nav-item">
<NavLink
- className="nav-link"
+ className="nav-link d-inline-flex align-items-center d-md-inline-block"
to="/reports"
title={i18n.t("unread_reports", {
count: Number(this.unreadReportCount),
onMouseUp={linkEvent(this, handleCollapseClick)}
>
<Icon icon="shield" />
+ <span className="badge badge-light d-inline ml-1 d-md-none ml-md-0">
+ {i18n.t("unread_reports", {
+ count: Number(this.unreadReportCount),
+ formattedCount: numToSI(this.unreadReportCount),
+ })}
+ </span>
{this.unreadReportCount > 0 && (
<span className="mx-1 badge badge-light">
{numToSI(this.unreadReportCount)}
<li id="navApplications" className="nav-item">
<NavLink
to="/registration_applications"
- className="nav-link"
+ className="nav-link d-inline-flex align-items-center d-md-inline-block"
title={i18n.t("unread_registration_applications", {
count: Number(this.unreadApplicationCount),
formattedCount: numToSI(this.unreadApplicationCount),
onMouseUp={linkEvent(this, handleCollapseClick)}
>
<Icon icon="clipboard" />
+ <span className="badge badge-light d-inline ml-1 d-md-none ml-md-0">
+ {i18n.t("unread_registration_applications", {
+ count: Number(this.unreadApplicationCount),
+ formattedCount: numToSI(this.unreadApplicationCount),
+ })}
+ </span>
{this.unreadApplicationCount > 0 && (
<span className="mx-1 badge badge-light">
{numToSI(this.unreadApplicationCount)}