refactor(core): remove legacy plebbit terminology

This commit is contained in:
Tommaso Casaburi
2026-04-17 10:48:27 +07:00
parent e366dac25c
commit ee7a5b5778
158 changed files with 626 additions and 836 deletions
@@ -12,13 +12,13 @@
}
.floatingEmbed,
.subplebbitAvatar {
.communityAvatar {
max-width: 250px;
max-height: 250px;
display: inline-flex;
}
.subplebbitAvatar {
.communityAvatar {
margin: 3px 20px 5px 20px;
}
@@ -29,7 +29,7 @@
}
@media (max-width: 640px) {
.subplebbitAvatar {
.communityAvatar {
max-width: 125px;
max-height: 125px;
margin: 3px 10px 5px 5px;
@@ -438,7 +438,7 @@ const CommentMedia = ({
const maxThumbnailSize = isMobile || isReply ? 125 : 250;
if (linkWidth && linkHeight) {
// use the dimensions from the plebbit-js api
// use the dimensions from the pkc-js API
let scale = Math.min(1, maxThumbnailSize / Math.max(linkWidth, linkHeight));
displayWidth = `${linkWidth * scale}px`;
displayHeight = `${linkHeight * scale}px`;