Allow clicking on undownloaded generic attachment
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
parent
511ccb0a60
commit
80d7b0bf29
2 changed files with 0 additions and 8 deletions
|
@ -793,11 +793,6 @@ $message-padding-horizontal: 12px;
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.module-message__generic-attachment--not-active {
|
|
||||||
cursor: default;
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.module-message__generic-attachment__icon-container {
|
.module-message__generic-attachment__icon-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
|
@ -1087,9 +1087,6 @@ export class Message extends React.PureComponent<Props, State> {
|
||||||
: null,
|
: null,
|
||||||
withContentAbove
|
withContentAbove
|
||||||
? 'module-message__generic-attachment--with-content-above'
|
? 'module-message__generic-attachment--with-content-above'
|
||||||
: null,
|
|
||||||
!firstAttachment.url
|
|
||||||
? 'module-message__generic-attachment--not-active'
|
|
||||||
: null
|
: null
|
||||||
)}
|
)}
|
||||||
// There's only ever one of these, so we don't want users to tab into it
|
// There's only ever one of these, so we don't want users to tab into it
|
||||||
|
|
Loading…
Reference in a new issue