</button>
{showScores() ? (
<div
- className={`unselectable pointer font-weight-bold text-muted px-1 post-score`}
+ className={`unselectable pointer text-muted px-1 post-score`}
data-tippy-content={this.pointsTippy}
>
{numToSI(this.postView.counts.score)}
{(url && isImage(url)) ||
(post.thumbnail_url && (
<button
- className="btn btn-link text-monospace text-muted small d-inline-block"
+ className="btn btn-sm text-monospace text-muted d-inline-block"
data-tippy-content={i18n.t("expand_here")}
onClick={linkEvent(this, this.handleImageExpandClick)}
>
const post = this.postView.post;
return (
- <div className="d-flex align-items-center justify-content-start flex-wrap text-muted font-weight-bold">
+ <div className="d-flex align-items-center justify-content-start flex-wrap text-muted">
{this.commentsButton}
{canShare() && (
<button
- className="btn btn-sm btn-link"
+ className="btn btn-sm btn-animate text-muted py-0"
onClick={linkEvent(this, this.handleShare)}
type="button"
>
)}
{!post.local && (
<a
- className="btn btn-link btn-animate text-muted py-0"
+ className="btn btn-sm btn-animate text-muted py-0"
title={i18n.t("link")}
href={post.ap_id}
>
return (
<button
- className="btn btn-link btn-animate text-muted py-0"
+ className="btn btn-sm btn-animate text-muted py-0"
data-tippy-content={body && mdNoImages.render(body)}
data-tippy-allowHtml={true}
onClick={linkEvent(this, this.handleShowBody)}
<div className="dropdown">
<button
- className="btn btn-link btn-animate text-muted py-0 dropdown-toggle"
+ className="btn btn-sm btn-animate text-muted py-0 dropdown-toggle"
onClick={linkEvent(this, this.handleShowAdvanced)}
data-tippy-content={i18n.t("more")}
data-bs-toggle="dropdown"
const post_view = this.postView;
return (
<Link
- className="btn btn-link text-muted pl-0 text-muted"
+ className="btn btn-link btn-sm text-muted pl-0"
title={i18n.t("number_of_comments", {
count: Number(post_view.counts.comments),
formattedCount: Number(post_view.counts.comments),
const label = saved ? i18n.t("unsave") : i18n.t("save");
return (
<button
- className="btn btn-link btn-animate text-muted py-0"
+ className="btn btn-sm btn-animate text-muted py-0"
onClick={linkEvent(this, this.handleSavePostClick)}
data-tippy-content={label}
aria-label={label}
get crossPostButton() {
return (
<Link
- className="btn btn-link btn-animate text-muted py-0"
+ className="btn btn-sm btn-animate text-muted py-0"
to={{
/* Empty string properties are required to satisfy type*/
pathname: "/create_post",
get viewSourceButton() {
return (
<button
- className="btn btn-link btn-animate text-muted py-0"
+ className="btn btn-sm btn-animate text-muted py-0"
onClick={linkEvent(this, this.handleViewSource)}
data-tippy-content={i18n.t("view_source")}
aria-label={i18n.t("view_source")}