Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2024.9.0-alpha.11] 名前が横方向に押しつぶされて読めなくなる #14642

Closed
1 task
fruitriin opened this issue Sep 28, 2024 · 18 comments
Closed
1 task
Labels
⚠️bug? This might be a bug packages/frontend Client side specific issue/PR

Comments

@fruitriin
Copy link
Contributor

fruitriin commented Sep 28, 2024

💡 Summary

横幅が狭いとギチギチ

🥰 Expected Behavior

どうしよう

🤬 Actual Behavior

https://misskey.gamelore.fun/notes/9yp749jsh6

image

https://misskey.gamelore.fun/notes/9yp77rf0ax

image

📝 Steps to Reproduce

No response

💻 Frontend Environment

* Model and OS of the device(s):
* Browser:
* Server URL:
* Misskey:

🛰 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
@fruitriin fruitriin added the ⚠️bug? This might be a bug label Sep 28, 2024
@fruitriin
Copy link
Contributor Author

仕様なら仕様ということでCloseでもいいです

@KisaragiEffective KisaragiEffective changed the title [alpha11]名前がギュッ [2024.9.0-alpha.11] 名前が横方向に押しつぶされて読めなくなる Sep 28, 2024
@KisaragiEffective KisaragiEffective added the packages/frontend Client side specific issue/PR label Sep 28, 2024
@KisaragiEffective

This comment has been minimized.

@fruitriin
Copy link
Contributor Author

ロールアイコンが左詰めから右詰めに変わってるので、この近辺にデザイン調整が入った余波とおもわれる

@tai-cha
Copy link
Contributor

tai-cha commented Sep 28, 2024

まあ見づらいしFixするでもいいと思うんだけどExpected Behavior的なほうどうしたらいいんだろうの気持ち

@KisaragiEffective
Copy link
Collaborator

多分昔からの問題だと思います。 昔はオーバーフローしてたら日付でクリップされてて見えなくなったのをアスペクト比を変えて表示するようになった副作用だった気がしますが覚えていません。 ですが同様のことはデスクトップでもおそらくは再現できるものと思われます。

言及した現象、ハンドルだけ潰れるやつだったけど今回は名前も潰れてるから違いそうなきがしてきた

@kakkokari-gtyih
Copy link
Contributor

kakkokari-gtyih commented Sep 28, 2024

実験的機能 > Enable condensed lineをオフで解消するはず( e5856c6
(実験的機能ならデフォルトオフのほうがいいのでは…?)

@syuilo
Copy link
Member

syuilo commented Sep 29, 2024

省略するのと縮めるの併用したいけど出来なさそう

@kakkokari-gtyih
Copy link
Contributor

MkCondensedLine、縮める限度みたいなの設定できなかったっけ?
それで読みやすさを確保しながらある程度圧縮したりできそう

@syuilo
Copy link
Member

syuilo commented Sep 29, 2024

MkCondensedLineでtext-overflow: ellipsis;を使う方法募集中

@syuilo
Copy link
Member

syuilo commented Sep 29, 2024

TASUKETE

@fruitriin
Copy link
Contributor Author

ちなみにサンプルで貼った画像はマシなほうで、リモートからのノートは
・インスタンスのドメインがユーザーIDの後ろに来る
・引用されると引用された中のノートの幅は70%くらいになる

この辺の合わせ技でとてもせまい

@fruitriin
Copy link
Contributor Author

elipsisもwebkit-line-clampも、はみ出した部分をhiddenにしてその手前に……を置くcssなので、文字を指定範囲に収めるcssと組み合わせられないような気がするなあ

@syuilo
Copy link
Member

syuilo commented Sep 29, 2024

minScaleを0.5とかにしたらはみ出すから組み合わせられてしかるべきな気がする

@fruitriin
Copy link
Contributor Author

それならいけるかも

@syuilo
Copy link
Member

syuilo commented Sep 29, 2024

省略するのと縮めるの併用したいけど出来なさそう

成功した

@syuilo
Copy link
Member

syuilo commented Sep 29, 2024

chrome_PXNZDLaa8N

syuilo added a commit that referenced this issue Sep 29, 2024
@kakkokari-gtyih
Copy link
Contributor

#14642 (comment)

これで解決で良さそう?

@fruitriin
Copy link
Contributor Author

よさそうにみえる

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️bug? This might be a bug packages/frontend Client side specific issue/PR
Projects
None yet
Development

No branches or pull requests

5 participants