Allow clicking on undownloaded generic attachment

Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2024-10-15 15:14:21 -05:00 committed by GitHub
parent 511ccb0a60
commit 80d7b0bf29
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