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?

Comments

johnv’s picture

I agree, same happens on the Bartik theme. What's your exact change/patch?

mstrelan’s picture

I literally just got rid of the CSS style in the original post.

arrow’s picture

Yep, same here... I just commented out that line in the css file. Doesn't seem to be necessary.

johnv’s picture

Category: support » bug
johnv’s picture

Status: Active » Fixed

Commited to dev.
I also set the table width smaller :

div.field-widget-office-hours table {
/*  width: 770px; */
  width: 45em;
}

div.field-widget-office-hours table tr td {
/*  width: 55%; */
}

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Explain which screenshot is which