Allow clicking on undownloaded generic attachment

This commit is contained in:
trevor-signal 2024-10-10 17:16:47 -04:00 committed by GitHub
parent eb244e93fc
commit 290498153d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 8 deletions

View file

@ -793,11 +793,6 @@ $message-padding-horizontal: 12px;
padding-top: 4px;
}
.module-message__generic-attachment--not-active {
cursor: default;
pointer-events: none;
}
.module-message__generic-attachment__icon-container {
position: relative;
user-select: none;

View file

@ -1087,9 +1087,6 @@ export class Message extends React.PureComponent<Props, State> {
: null,
withContentAbove
? 'module-message__generic-attachment--with-content-above'
: null,
!firstAttachment.url
? 'module-message__generic-attachment--not-active'
: null
)}
// There's only ever one of these, so we don't want users to tab into it