mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 06:13:43 +01:00
Disable focus points for letterboxed media
This commit is contained in:
parent
9998271a5b
commit
8622dccaf1
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ class Item extends React.PureComponent {
|
|||
sizes={sizes}
|
||||
alt={attachment.get('description')}
|
||||
title={attachment.get('description')}
|
||||
style={{ objectPosition: `${x}% ${y}%` }}
|
||||
style={{ objectPosition: letterbox ? null : `${x}% ${y}%` }}
|
||||
/>
|
||||
</a>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue