The buttons in the header frame appear too low (unreadable) in some themes. To fix this, add margin: 0; to the body.

Line 19 of img_assist.css.

body#img_assist_header {
  background-color:#ccc;
  margin: 0;
}

The following code will align all the buttons properly. Add it around line 99.

#header-uploading input, #header-properties input, #header-browse input, #header-startover input, #header-cancel input, #header-uploading select, #header-properties select, #header-browse select {
  margin-top: 0;
  margin-bottom: 0;
  vertical-align: baseline;
}
CommentFileSizeAuthor
#2 img_assist_header_css.patch954 bytesmoonray

Comments

zoo33’s picture

Version: 6.x-3.x-dev » 5.x-1.x-dev

There is now a Drupal 5 branch.

moonray’s picture

Status: Active » Needs review
StatusFileSize
new954 bytes

Patch attached.
This patch also prevents the "start over" button from forcing a scroll bar to appear.

mlsamuelson’s picture

img_assist_header_css.patch worked as advertised in Firefox 2.0 and IE 6.0.

mlsamuelson

darren oh’s picture

Status: Needs review » Reviewed & tested by the community

Good review.

zoo33’s picture

Version: 5.x-1.x-dev » 4.7.x-1.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)

Looks good both in Firefox and Safari on Mac, thanks! Committed to DRUPAL-5 and HEAD.

4.7 could benefit from this as well.

sun’s picture

Status: Patch (to be ported) » Fixed

Committed to 4.7.x.

Anonymous’s picture

Status: Fixed » Closed (fixed)