Prevent text overflow of follow button (#12422)

This commit is contained in:
Rafi 2021-01-25 21:59:10 +05:30 committed by GitHub
parent dd0ee3dd72
commit b13c76f405
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,7 +127,7 @@ module ApplicationHelper
return if followable == DELETED_USER
tag :button, # Yikes
class: "crayons-btn follow-action-button #{classes}",
class: "crayons-btn follow-action-button #{classes} whitespace-nowrap",
data: {
:info => { id: followable.id, className: followable.class.name, style: style }.to_json,
"follow-action-button" => true