Use CSS to trim long card descriptions (#24265)
This commit is contained in:
parent
4687967176
commit
e713c545b8
3 changed files with 6 additions and 15 deletions
|
@ -175,7 +175,6 @@ module StatusesHelper
|
|||
def render_card_component(status, **options)
|
||||
component_params = {
|
||||
sensitive: sensitized?(status, current_account),
|
||||
maxDescription: 160,
|
||||
card: ActiveModelSerializers::SerializableResource.new(status.preview_card, serializer: REST::PreviewCardSerializer).as_json,
|
||||
}.merge(**options)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue