mirror of
https://github.com/discourse/discourse.git
synced 2026-03-04 01:15:08 +08:00
This moves the splash screen SVG processing (SMIL and script stripping) to upload rather than render for the `splash_screen_image` setting. While testing I also found a case where SVG dimensions could make splash images very tiny, so I strip out the dimensions (as long as a viewbox is present) so the SVG can scale to fit the wrapper better. --------- Co-authored-by: Régis Hanol <regis@hanol.fr> Co-authored-by: Martin Brennan <martin@discourse.org> |
||
|---|---|---|
| .. | ||
| splash_screen_image_changed_spec.rb | ||
| update_spec.rb | ||
| upsert_groups_spec.rb | ||