When you enter a percentage for a width it takes it as pixels so 100% becomes 100 pixels.

The workaround was I added some JavaScript that reset the inline CSS to how I wanted it but of course that's not really a great solution.

I experienced this limitation on the Twitter and the FaceBook widgets. I haven't tried other widgets yet.

I'm not sure if this should be a bug report or a feature request however given that the widgets work perfectly fine with percentage widths as received from the vendor I'm initially setting this limitation as a bug.

Comments

Reg’s picture

Any thoughts on this?

TomDude48’s picture

Project: Widgets » Social media
Version: 7.x-1.0-beta3 » 7.x-1.0-beta8

This pertains to the Social Media module. Moving to that queue.

TomDude48’s picture

Category: bug » feature

Moving to feature request. The the code works as intended right now.

Reg’s picture

Yeah it makes sense either way. If you give me a clue where the code is that controls this, like the function it's in then I'll have a crack and making a patch.

b-reid’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

I am closing this issue because this issue pertains to Widgets, and I also believe the Widgets module has this feature now.