Lookup CSS

Forums SPJS-Lookup Lookup CSS

This topic contains 1 reply, has 2 voices, and was last updated by  Alexander Bautz 1 month ago.

  • Author
    Posts
  • #23501

    Bob Hornak
    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 1 month ago by  Alexander Bautz. Reason: Modified the code snippet

You must be logged in to reply to this topic.