Closed (outdated)
Project:
Easy Social
Version:
7.x-2.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2012 at 11:14 UTC
Updated:
15 Jul 2025 at 17:24 UTC
Jump to comment: Most recent
In Italian "like" is translated to "Mi piace", so text doesn't fit to button. iframes is 48px wide, but it should be 80px in italian. I guess all users with a language other than English have this problem. View attachments for examples.
| Comment | File | Size | Author |
|---|---|---|---|
| snapshot107.png | 6.62 KB | Alessandro Pezzato | |
| snapshot106.png | 6.27 KB | Alessandro Pezzato |
Comments
Comment #1
lnunesbrThis is an interesting situation, since the box for chinese for example, is even tinier than english... I'm not sure if it's possible to fluid their widths, since they are iframes...
In other case, the solution would be set wider widths for all the widgets...
Comment #2
Alessandro Pezzato commentedWhere is iframe width set? You can set a different width for each localization. My (temporary) solution was placing facebook button at the right and setting a wide width (100px) with jquery so iframe's content can adapt to text's length.
Comment #3
sunchaser commentedYou could obviously use jQuery to define the width of the iframe dynamically (based on the textlength).
I chose the easy way out and just made sure (through CSS override) my Facebook iframe was wide enough for both my languages (french / dutch (.be))
.easy_social-widget-facebook iframe { width:118px !important; }
Dutch = "vind ik leuk"
French = "j'aime"
Comment #4
heddnDrupal 7 is no longer formerly supported. Just cleaning up the issue queue. If this is something that still exists in the modern drupal version, feel free to re-open and provide some notes.