Comment Button: Fix count (#6638)

This commit is contained in:
Alexander Zinchuk 2026-02-22 23:42:36 +01:00
parent d47791ff55
commit 00f7da84a3
3 changed files with 2 additions and 9 deletions

View File

@ -54,9 +54,7 @@
}
.custom-shape & {
position: absolute;
right: -3rem;
bottom: 3rem;
position: relative;
align-items: flex-start;
@ -127,8 +125,7 @@
}
}
&.as-action-button {
position: static;
&.CommentButton-custom-shape {
background-color: transparent;
&::after {

View File

@ -25,7 +25,6 @@ type OwnProps = {
disabled?: boolean;
isLoading?: boolean;
isCustomShape?: boolean;
asActionButton?: boolean;
};
const SHOW_LOADER_DELAY = 450;
@ -35,7 +34,6 @@ const CommentButton: FC<OwnProps> = ({
threadInfo,
disabled,
isLoading,
asActionButton,
}) => {
const { openThread, openFrozenAccountModal } = getActions();
@ -110,7 +108,6 @@ const CommentButton: FC<OwnProps> = ({
disabled && 'disabled',
isCustomShape && 'CommentButton-custom-shape',
isLoading && 'loading',
asActionButton && 'as-action-button',
)}
dir={lang.isRtl ? 'rtl' : 'ltr'}
onClick={handleClick}

View File

@ -1892,7 +1892,6 @@ const Message = ({
disabled={noComments || !commentsThreadInfo}
isLoading={isLoadingComments}
isCustomShape
asActionButton
/>
)}
{canForward && (