This theme, while gorgeous, does not work and play nicely with TinyMCE. Because it is indiscriminate about adding padding/margins to images in the body area, if someone tries to load a page with the TinyMCE editor on it, the bottons go all kitty-wompus and shoot out the side of the screen.

The offending code seems to be:

content img {
border:1px solid #b0b0b0;
float:left;
margin:5px 15px 6px;
padding:5px;
}

This will also cause pretty much any image in the content area to end up displaying sort of screwy, unless I miss my guess. That's not going to be good for sites with images attached to nodes or as part of their content. I'm assuming that this was meant to adjust the display of user pictures attached to nodes, posts, etc. but it would be better to handle those items with code specific to them - not with CSS declarations that broadly define the way all images in the content area will look.

Comments

Kos13666’s picture

Users' avatars in posts and in user list are also affected by the code Coyote'd mentioned.
I'd like to propose my workaround for this problem (works on firefox 1.0.4)

/* This part for users' avatar in posts, similar to original #content img{} */

#content .picture img {
  float: left;
  border: 1px solid #b0b0b0;
  margin: 5px 15px 6px;
  padding: 5px;
  }


/* This part for both images in posts and tinyMCE toolbar. */
/*I didn't seperate them since this works fine for me */

#content img {
  margin: 1px;
  padding: 0;
  }


/* This part for user list in http://example.com/profile */
/* add margin and padding, since my max avatar size is 60*80 */

.profile {
  clear: none;
  margin: 0;                             
  padding-bottom: 100px;
}

hope this could be in help. v( '. ^)9

matt@antinomia’s picture

Status: Active » Fixed

it would be better to handle those items with code specific to them - not with CSS declarations that broadly define the way all images in the content area will look.

I'm inclined to agree. I've removed the #content img declaration in the CSS. If somebody wants it, they can add it back in...

http://drupal.org/cvs?commit=41701

Anonymous’s picture

Status: Fixed » Closed (fixed)