Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Membership Date not completely visible on contact summary page. #428

Open
jitendrapurohit opened this issue Dec 11, 2019 · 2 comments
Open

Comments

@jitendrapurohit
Copy link

jitendrapurohit commented Dec 11, 2019

Visit any contact having a membership dates set in December(or any month with a long name)

The date fields displayed are not wide enough to show the year in the 3 date fields

image

Possibly because the membership dates specify a hardcode max-width to these columns? See https://github.com/civicrm/org.civicrm.shoreditch/blob/master/scss/civicrm/contact/pages/_memberships.scss#L24

  #memberships {
    @include civicrm-table-with-header();

    table td {
      &:not(:last-child) {
        max-width: 85px;
        overflow: hidden;
        padding: 15px 10px 15px 20px;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      &:nth-child(2),
      &:nth-child(3),
      &:nth-child(4) {
        max-width: 100px;
      }
    }
  }
@jamienovick
Copy link

Hi @jitendrapurohit have you tried changing your date formats?

@jitendrapurohit
Copy link
Author

Date format value can lower the size of the text displayed in this <td> element. So that can work in most cases eg dd/mm/yyyy.

Anything we can make sure to handle all the date formats? Given the above December 11th 2019 format is the default value set by civicrm :)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants