mastodon-glitch/app/javascript/flavours
neatchee 20abef6590
Allow users to set the trigger height for lengthy toot auto-collapse (#2070)
* Allow users to set the trigger height for lengthy toot autocollapse

Add a field in the glitch-soc preferences to set the exact height in pixels of a "lengthy toot" where auto-collapse is triggered

Originally authored by Dean Bassett (github.com/deanveloper)

Squashed 3 commits from neatchee/mastodon and returned some values to project defaults:
* ef665c1df5
* 0fce108d21
* 998f701a2b

* Remove bad escape characters

* Apply feedback from glitch-soc code review
- move input width specification to CSS
- adjust language for clarity

* Update comments re: lengthy toot height

* Fix inconsistent indentation

* Use a calculated width that scales better with browser font instead of static 45px width
2023-01-26 19:36:44 +01:00
..
glitch Allow users to set the trigger height for lengthy toot auto-collapse (#2070) 2023-01-26 19:36:44 +01:00
vanilla Fix prettifier/lint issues (#2066) 2023-01-04 18:38:45 +01:00