By migajos on
Hi,
I've made a view (a table) which I want to display in my sidebar in block. I dont know why, but the table doesn't take all witdh of a block, but about 70%, which makes the text in table squeezed in two lines. There is still lot of space in a block. I cant find the option where I can fix this. Is it a fault of block settings? view settings? theme settings?
I will really appreciate any help!
Comments
What are your settings?
Do you have the table set to 100% or the full width? Then are there any padding or margin constrants on the CSS elements surrounding your table in the sidebar?
The first area to check would be the table itself, and the themes CSS code. I think there are DEV tools / modules that would help you no end here!
Its a fun game of searching through until you find something obvious in the theme I guess though...
Hope that helps,
Chris
I'm getting the same result
I'm getting the same result using the Waffles theme, which theme are you using?
It seems to be a problem
There seems to be a problem with HTML tables inside blocks not taking the full available width, but it's not a problem with the styles of the table tags. Even an empty, style-less table in a block does the same thing?
Setting the div tag surrounding the view's table section to
seems to have fixed that particular glitch but who knows what else it goofs up; there's obviously a style issue here somewhere. And again, this is my experience specifically with Waffles - which unfortunately doesn't seem to be getting much attention lately?
This is an issue for me as
This is an issue for me as well (D7, custom theme from scratch), and I can vouch for a style issue, it must be a style in CORE, because I'm working with a scratch-built theme and have not added any css or functions for table formatting yet.
Quite annoying really, as in other theme's I've used (from scratch or not) I've also had issues with tables breaking out of their bounds and being WIDER than the block they're in...