I'd like to be able to style the contents of the super select form-items. This way I can have a much more compact display with the addition of some css in my stylesheet:

.super_select .form-item {
  float: left;
  width: 15em;
  margin: 0 0 0.5em 0;
}

Please see the attached patch for the modification needed in the module.

CommentFileSizeAuthor
taxonomy_super_select-custom-class.txt807 bytesmo6
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

NancyDru’s picture

NancyDru’s picture

I did it with no patch:

.node-form fieldset {position:relative; width: 100%; clear: both;}
.node-form label {position:relative; width: 16%; /*margin-right: 2px;*/ float: left; border-right: 1px dotted #ccc; font-size: 0.92em;}
NancyDru’s picture

Well, actually it messed up some other forms. Your patch is probably better.

NancyDru’s picture

I have a more complete fix for this, but have so many other changes in my copy of the module that turning it into a patch is really difficult (commit is much easier).

NancyDru’s picture

Assigned: Unassigned » NancyDru
Status: Needs review » Fixed

This is now in 5.x-1.10.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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