discourse/app/assets/stylesheets/common
David Taylor c82094cd9d
PERF: Refactor slide-in menu sizing for improved performance (#20377)
Using Javascript to read and recalculate sizing is prone to causing 'forced reflows', which are very expensive, especially on slower devices. This PR refactors the slide-in menus so that all of the height calculation is done using CSS. This is made possible by the new dvh (dynamic view height) units and env(safe-area-inset-bottom), both of which are supported on all of our target browsers.

In tests on a moto g50, on a sidebar with 16 categories, 15 tags, and 2 chat channels, this improves the sidebar opening time by around 50ms (6%).
2023-02-21 13:55:38 +00:00
..
admin UX: highlight vars updates (#20346) 2023-02-21 10:15:49 +01:00
base PERF: Refactor slide-in menu sizing for improved performance (#20377) 2023-02-21 13:55:38 +00:00
components UX: highlight vars updates (#20346) 2023-02-21 10:15:49 +01:00
foundation UX: allow sidebar to appear inline down to 768px (#20271) 2023-02-14 09:51:42 +11:00
modal FEATURE: integrate DnD with user status (#19410) 2022-12-16 16:35:39 +04:00
select-kit Revert "Revert "Select-kit > use new color vars" (#20042)" (#20345) 2023-02-17 07:29:26 +01:00
d-editor.scss DEV: allow themes to more easily set border-radii (#19037) 2022-11-16 11:35:09 -05:00
font-variables.scss FIX: Use rem for font sizes in post headings (#13720) 2021-07-14 11:15:58 +10:00
input_tip.scss DEV: Refactor popup-tip component (#15257) 2021-12-13 11:22:02 -05:00
printer-friendly.scss UX: print view always shows 0 votes, hide it (#15901) 2022-03-08 15:35:31 +01:00
software-update-prompt.scss UX: Add hover style to refresh-page dismiss button (#15711) 2022-02-01 20:04:46 +01:00
topic-entrance.scss fix topic entrance button layout (#11887) 2021-01-28 15:44:01 -05:00
topic-timeline.scss UX: Fix `timeline-handle` positioning (#20217) 2023-02-08 12:01:14 -06:00
whcm.scss A11Y: Improve accessibility in WHCM themes (#18606) 2022-10-17 07:07:46 -07:00