-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
enhance(mfm): $[tada ]
のフォントサイズは1段階しか大きくならないように
#13757
base: develop
Are you sure you want to change the base?
Conversation
$[tada ]
のフォントサイズは1段階しか大きくならないように$[tada ]
のフォントサイズは1段階しか大きくならないように
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #13757 +/- ##
============================================
+ Coverage 64.95% 77.66% +12.70%
============================================
Files 989 183 -806
Lines 112848 25408 -87440
Branches 5770 487 -5283
============================================
- Hits 73306 19734 -53572
+ Misses 38100 5667 -32433
+ Partials 1442 7 -1435 ☔ View full report in Codecov by Sentry. |
ちょっとbreaking change過ぎるので一旦なしで |
breakingではあるものの悪用例が発生したのを確認した(io)ので再オープン cc: @u1-liquid |
font-size: 150%; | ||
} | ||
|
||
.mfm-tada:has(.mfm-tada) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hasセレクタって重そうな気がしたけどどうだろう
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
そもそも登場頻度(このクエリに引っかかること)は高くない気がするので大丈夫かも
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ブラウザが「このクエリに引っかかるかどうか」を判定すること自体のコストが高いという話だわね
related? #13266 |
tadaのネスト回数によってはx2やx3, x4同様に畳めばいいのでは?(普通にannoyingなので) |
What
$[tada ]
で文字サイズが大きくなるのを最初の1段階のみに変更(tadaで文字サイズがデカくなる仕様自体は利用されているケースが多いので互換性のため1段階だけは大きくするようにしてある)
Why
$[tada ]
をネストして巨大な文字を作れてしまう問題を修正Additional info (optional)
Checklist