border-bottom: 2px solid var(--dark);
}
-.md-div table tbody+tbody {
+.md-div table tbody + tbody {
border-top: 2px solid var(--dark);
}
}
.icon-emoji-admin {
- max-width: 24px;
- max-height: 24px;
+ max-width: 24px;
+ max-height: 24px;
display: inline-block;
}
left: 0;
}
- .emoji-picker-container>section {
+ .emoji-picker-container > section {
width: 100% !important;
}
}
left: 0;
right: 0;
bottom: 0;
- background-color: rgba(0, 0, 0, .3);
+ background-color: rgba(0, 0, 0, 0.3);
z-index: 999;
}
text-overflow: ellipsis;
}
+.text-xs-center {
+ text-align: center;
+}
+
.overflow-wrap-anywhere {
overflow-wrap: anywhere;
}
.lang-select-action:focus {
width: auto;
}
-em-emoji-picker{
- width:100%;
+em-emoji-picker {
+ width: 100%;
}
<li className="list-inline-item">
<Link
className="badge badge-primary"
- to={`/modlog/community/${this.props.community_view.community.id}`}
+ to={`/modlog/${this.props.community_view.community.id}`}
>
{i18n.t("modlog")}
</Link>
import { NoOptionI18nKeys } from "i18next";
import { Component, linkEvent } from "inferno";
+import { T } from "inferno-i18next-dess";
import { Link } from "inferno-router";
import { RouteComponentProps } from "inferno-router/dist/Route";
import {
wsSubscribe,
} from "../utils";
import { HtmlTags } from "./common/html-tags";
-import { Spinner } from "./common/icon";
+import { Icon, Spinner } from "./common/icon";
import { MomentTime } from "./common/moment-time";
import { Paginator } from "./common/paginator";
import { SearchableSelect } from "./common/searchable-select";
/>
<div>
+ <div
+ className="alert alert-warning text-sm-start text-xs-center"
+ role="alert"
+ >
+ <Icon
+ icon="alert-triangle"
+ inline
+ classes="mr-sm-2 mx-auto d-sm-inline d-block"
+ />
+ <T i18nKey="modlog_content_warning" class="d-inline">
+ #<strong>#</strong>#
+ </T>
+ </div>
<h5>
{communityName && (
<Link className="text-body" to={`/c/${communityName}`}>
component: Settings,
},
{
- path: `/modlog`,
+ path: `/modlog/:communityId`,
component: Modlog,
fetchInitialData: Modlog.fetchInitialData,
},
{
- path: `/modlog/:communityId`,
+ path: `/modlog`,
component: Modlog,
fetchInitialData: Modlog.fetchInitialData,
},