Comment Button: Fix count (#6638)
This commit is contained in:
parent
d47791ff55
commit
00f7da84a3
@ -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 {
|
||||
|
||||
@ -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}
|
||||
|
||||
@ -1892,7 +1892,6 @@ const Message = ({
|
||||
disabled={noComments || !commentsThreadInfo}
|
||||
isLoading={isLoadingComments}
|
||||
isCustomShape
|
||||
asActionButton
|
||||
/>
|
||||
)}
|
||||
{canForward && (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user