Skip to content

.icoファイルをプレビューすると縦横比が無視される #17297

@hosigaki09

Description

@hosigaki09

💡 Summary

.icoファイルをプレビューすると、画像が画面サイズに合うように拡大されてしまいます。

🥰 Expected Behavior

画面サイズに関わらず、元画像の縦横比が維持される

🤬 Actual Behavior

縦横比が維持されず、画面サイズぴったりまで拡大する

📝 Steps to Reproduce

No response

💻 Frontend Environment

* Model and OS of the device(s):MacBook Air(M1, 2020)
* Browser:Chrome 146.0.7680.165,Safari 26.3
* Server URL:https://misskey.io/,https://sushi.ski/,https://voskey.icalo.net/,https://d.kg-misskey.net/
* Misskey:2025.4.1,2026.3.1

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service:
* Misskey:
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture:

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions