When a dropbutton contains only one link, it turns into a simple button, which perfectly makes sense.
However, the button turns out to be considerably larger than the dropbutton, so at least whenever both are displayed on the same page, the CSS needs to be overridden.

See before:
Before

and after:
After

For the remaining misalignment see: #1966072: Export UI ops dropbutton misaligned

Comments

pancho’s picture

StatusFileSize
new644 bytes

Enclosed patch moves some CSS rules from dropbutton.css to the more general button.css.

chris matthews’s picture

Issue summary: View changes
Status: Needs review » Needs work
Issue tags: +Needs reroll

The 6 year old initial patch to button.css and dropbutton.css does not apply to the latest ctools 7.x-1.x-dev and needs a reroll.

Checking patch css/button.css...
error: while searching for:
.ctools-button-processed .ctools-content ul {
  list-style-image: none;
  list-style-type: none;
}

.ctools-button-processed li {

error: patch failed: css/button.css:19
error: css/button.css: patch does not apply
Checking patch css/dropbutton.css...
Hunk #1 succeeded at 27 (offset -2 lines).
andrew answer’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
StatusFileSize
new671 bytes

Patch rerolled.

japerry’s picture

Status: Needs review » Closed (outdated)

Drupal 7 is no longer supported, closing.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.