You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Changed letter case.
This commit is contained in:
@@ -47,7 +47,7 @@ limitations under the License.
|
|||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_MImageBody_GIFlabel {
|
.mx_MImageBody_gifLabel {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: block;
|
display: block;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
|
|||||||
@@ -278,7 +278,7 @@ export default class MImageBody extends React.Component {
|
|||||||
|
|
||||||
let img = null;
|
let img = null;
|
||||||
let placeholder = null;
|
let placeholder = null;
|
||||||
let giflabel = null;
|
let gifLabel = null;
|
||||||
|
|
||||||
// e2e image hasn't been decrypted yet
|
// e2e image hasn't been decrypted yet
|
||||||
if (content.file !== undefined && this.state.decryptedUrl === null) {
|
if (content.file !== undefined && this.state.decryptedUrl === null) {
|
||||||
@@ -304,7 +304,7 @@ export default class MImageBody extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this._isGif() && !SettingsStore.getValue("autoplayGifsAndVideos") && !this.state.hover) {
|
if (this._isGif() && !SettingsStore.getValue("autoplayGifsAndVideos") && !this.state.hover) {
|
||||||
giflabel = <p className="mx_MImageBody_GIFlabel">GIF</p>;
|
gifLabel = <p className="mx_MImageBody_gifLabel">GIF</p>;
|
||||||
}
|
}
|
||||||
|
|
||||||
const thumbnail = (
|
const thumbnail = (
|
||||||
@@ -324,7 +324,7 @@ export default class MImageBody extends React.Component {
|
|||||||
|
|
||||||
<div style={{display: !showPlaceholder ? undefined : 'none'}}>
|
<div style={{display: !showPlaceholder ? undefined : 'none'}}>
|
||||||
{ img }
|
{ img }
|
||||||
{ giflabel }
|
{ gifLabel }
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{ this.state.hover && this.getTooltip() }
|
{ this.state.hover && this.getTooltip() }
|
||||||
|
|||||||
Reference in New Issue
Block a user