mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 10:29:35 +08:00
0d6839e8a8
Our current algorithm for picking the number of notifications to display when expanding the notifications relies on magic numbers. Previously we only allowed for header and an estimate of maximum height of notification container, this is not ideal as there is padding at the bottom and top of the notification container This adds a special number for padding. The longer term fix though is to render the notification panel off screen then grab the correct count, finally adding it back into view with. This would allow for large fonts, small fonts, custom themes and much more. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |