Closed Bug 936088 Opened 11 years ago Closed 8 years ago

Charity logo images overflowing container

Categories

(Core :: Layout: Tables, defect, P4)

28 Branch
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: miketaylr, Unassigned)

References

()

Details

Attachments

(1 file)

1) Go to https://omakasecharity.org/
2) Look at the charity logo images below the Discover your new favorite charities. blurb

Expected: They're sized relative to the parent container, just like in Chrome.
Actual: Large images and a horizontal scrollbar.

<ul class="partner-charities">
  <li class="partner-charity">
    <img alt="Lacocina logo" src="/assets/lacocina_logo-2124 9941d42af054482ac299a3462ef3.png">
  </li>  
  ...
</ul>

Relevant CSS:

.charities .partner-charities:before, .charities .partner-charities:after {
    content: " ";
    display: table;
}

.charities .partner-charity {
    display: table-cell;
    width: 19.2308%;
    padding: 1rem;
    vertical-align: middle;
    border-right: 1px dashed #DDDEE1;
}

.charities .partner-charity img {
    max-width: 75%;
}

Removing display:table-cell on the li makes it so the logos are sized appropriately.
Component: Layout → Layout: Tables
OS: Mac OS X → All
Hardware: x86 → All
Priority: -- → P4
Attached file 936088.html
Reduced test case.
Isn't this basically bug 823483 and company?
Depends on: 823483
I think this server is dead:

> http --print=hH GET https://omakasecharity.org/

http: error: SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

The http version redirects to https://codestarter.org/.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Resolution: INVALID → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: