This applies to all themes. When expanding the collapsible fieldset for advanced search, there's a scroll bar in there. It's just a minor cosmetic issue but it's difficult to fix from the theme.

The scrolling behavior is caused by the 'clear-block' class applied to the advanced search button. It's wrapped in a div with the classes 'action clear-block'. Looks like it's initially set in node_form_alter() inside node.module.

The clear block isn't needed. If the button has to clear anything then a simple clear rule in a style sheet should take care of it.

CommentFileSizeAuthor
#1 advanced_submit.patch618 bytesdvessel

Comments

dvessel’s picture

Status: Active » Needs review
StatusFileSize
new618 bytes

The clear-block class wasn't needed. There's already a style set inside search.css to clear the button.

It was removed from node_form_alter().

dries’s picture

Status: Needs review » Fixed

I've tested this with 2 browsers and it seems to work. It's a small but important touch. Committed to DRUPAL-5 and HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)