I'm using office_hours combined with field_group to display office_hours in a vertical tab. The following style in office_hours.css is really awful on the Seven theme.
div.field-widget-office-hours table tr td{
width: 55%;
}
I've attached a screenshot of what it is doing (before) vs what it should be doing (after). Of course this is easy to override, except that I'm using a core admin theme and don't want to hack it, so I'd have to write a module to alter the css. Can we remove it, or is there a reason it exists?
| Comment | File | Size | Author |
|---|---|---|---|
| office_hours_width_after.png | 19.18 KB | mstrelan | |
| office_hours_width_before.png | 21.66 KB | mstrelan |
Comments
Comment #1
johnvI agree, same happens on the Bartik theme. What's your exact change/patch?
Comment #2
mstrelan commentedI literally just got rid of the CSS style in the original post.
Comment #3
arrowYep, same here... I just commented out that line in the css file. Doesn't seem to be necessary.
Comment #4
johnvComment #5
johnvCommited to dev.
I also set the table width smaller :
Comment #6.0
(not verified) commentedExplain which screenshot is which