discourse/app/assets
Sam Saffron 0d6839e8a8 UX: adjust algorithm for picking notification count
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.
2020-02-05 16:03:44 +11:00
..
images FIX: images:compress rake task 2019-03-15 15:23:57 +01:00
javascripts UX: adjust algorithm for picking notification count 2020-02-05 16:03:44 +11:00
stylesheets UX: introduces icon-picker component for badges (#8844) 2020-02-05 00:41:10 +01:00