Lookup CSS

Forums SPJS-Lookup Lookup CSS

Viewing 1 reply thread
  • Author
    Posts
    • #23501
      Wilson
      Participant

      Hi Alex,
      It appears that the field heights are different for input (text) boxes and the fields that have spjs-lookup applied. Is there a somewhere I can adjust the CSS applied for spjs-lookup so that all elements are the same height? If I could apply globally, for all elements on a form, that would be ideal.

      As always, great work!!
      Thanks,
      Bob

      Attachments:
    • #23505
      Alexander Bautz
      Keymaster

      Hi,
      You can add this snippet to your Custom CSS:

      #dffs_YOUR_FIELD_NAME select{
          height:23px;
      }

      Replace YOUR_FIELD_NAME with the internal name of your field, and change 23px to match the height you like on the select.

      If you like to add it to all selects in the form, add this code:

      .ms-formtable select{
          height:23px;
      }

      Alexander

      • This reply was modified 5 years, 3 months ago by Alexander Bautz. Reason: Modified the code snippet
Viewing 1 reply thread
  • You must be logged in to reply to this topic.