misskey icon indicating copy to clipboard operation
misskey copied to clipboard

エントランスページをSimpleに切り替えても背景画像のオフセット処理が行われてしまう

Open r-ca opened this issue 1 year ago • 1 comments

💡 Summary

Misskey v2025.8.0において、エントランスページのスタイルをSimpleに切り替えても背景画像のオフセット処理(というと語弊がある気もするけれど)が行われてしまう

🥰 Expected Behavior

Image

Simpleの場合はオフセット処理が行われない

🤬 Actual Behavior

Image

オフセット処理が行われてしまう

📝 Steps to Reproduce

  1. エントランスページの背景を設定する
  2. エントランスページのスタイルをSimpleに切り替える

💻 Frontend Environment

* Model and OS of the device(s): Fedora 42(Wayland, KDE spin)
* Browser:Firefox 141.0b8 (64-bit)
* Server URL:https://mi-develop.n8.lc/
* Misskey:2025.8.0

🛰 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?

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

r-ca avatar Aug 31 '25 14:08 r-ca

これで治りそうです。(simple.vueにshapeはなさそうです)

❯ git diff
diff --git a/packages/frontend/src/pages/welcome.entrance.simple.vue b/packages/frontend/src/pages/welcome.entrance.simple.vue
index c2a2420e50..edbd312249 100644
--- a/packages/frontend/src/pages/welcome.entrance.simple.vue
+++ b/packages/frontend/src/pages/welcome.entrance.simple.vue
@@ -34,7 +34,7 @@ import { instance as meta } from '@/instance.js';
        position: fixed;
        top: 0;
        right: 0;
-       width: 80vw; // 100%からshapeの幅を引いている
+       width: 100vw;
        height: 100vh;
 }

nakkaa avatar Sep 03 '25 12:09 nakkaa