CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Layout of contact records breaks too easily
Pages: [1]

Author Topic: Layout of contact records breaks too easily  (Read 478 times)

Katy J

  • I post occasionally
  • **
  • Posts: 50
  • Karma: 4
    • Third Sector Design
Layout of contact records breaks too easily
November 08, 2012, 08:16:48 am
If you have long labels and/or answers for your fields in the contact record, the layout breaks - see screenshot from the test site. The answer is pretty simple - edit the relevant template to include a div that wraps each label/content pair with overflow:hidden and clear:both on it. Then remove the min-height attribute from the content as min-height renders as height in many browsers and is generally a troublesome attribute to use. Have submitted an issue on Jira. Happy to provide this fix (I'll be fixing this for a specific site now anyway) - but thought I would raise here to see if anyone wants to offer anything first...
Do what you love, it's your gift to the universe

Katy J

  • I post occasionally
  • **
  • Posts: 50
  • Karma: 4
    • Third Sector Design
Re: Layout of contact records breaks too easily
November 08, 2012, 09:07:02 am
This has apparently been fixed in trunk, so I've just done it myself for the site I'm currently working on.
Do what you love, it's your gift to the universe

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Layout of contact records breaks too easily

This forum was archived on 2017-11-26.