Merge lp:~knome/planet-ubuntu/prevent-img-pre-overlap into lp:planet-ubuntu

Proposed by Pasi Lallinaho
Status: Superseded
Proposed branch: lp:~knome/planet-ubuntu/prevent-img-pre-overlap
Merge into: lp:planet-ubuntu
Diff against target: 20 lines (+10/-0)
1 file modified
css/general.css (+10/-0)
To merge this branch: bzr merge lp:~knome/planet-ubuntu/prevent-img-pre-overlap
Reviewer Review Type Date Requested Status
Anthony Dillon Needs Fixing
Review via email: mp+247511@code.launchpad.net

This proposal has been superseded by a proposal from 2015-06-25.

Description of the change

Another merge proposal to make sure <pre> elements do not overlap either. Also, the image overlap preventing code is moved to general.css too, since I noticed that images.css isn't even included. Oops.

To post a comment you must log in.
Revision history for this message
Anthony Dillon (ya-bo-ng) wrote :

Thanks Pasi,

I am working on setting up a local version and staging for planet ubuntu. So I can test your MP's correctly. This shouldn't take to long. Just letting you know that your contribution's are not being missed.

Thanks again,
Ant.

Revision history for this message
Pasi Lallinaho (knome) wrote :

Hey Anthony, what's the status on this?

Revision history for this message
Pasi Lallinaho (knome) wrote :

Any update since one month?

Revision history for this message
Pasi Lallinaho (knome) wrote :

As we're experiencing this again on the production planet, is there any update on this since a month+?

Revision history for this message
Anthony Dillon (ya-bo-ng) wrote :

Sorry Pasi,

I struggled to set up a local version as I could not get access to the site. I will persue this next week.

Revision history for this message
Pasi Lallinaho (knome) wrote :

Sorry to bother again, but is there any update on this?

I don't think setting up a local setup of the site is needed for testing if this works or not. It's relatively simple CSS and its principle should be self-evident for people who understand CSS beyond the basics. Alternatively one can use developer tools to try these few lines live with the production installation.

Revision history for this message
Elizabeth K. Joseph (lyz) wrote :

I've independently reviewed this and it looks good. There are some images on the planet now that are over-sized so it's a good time to test it.

Can we please get this landed on Planet Ubuntu soon?

Revision history for this message
Anthony Dillon (ya-bo-ng) wrote :

Pasi,

Thank you very much and looks great. I have one small improvement mentioned in code. If you wouldn't mind addressing the comment. I will get the branch launched live.

review: Needs Fixing
32. By Pasi Lallinaho

Make pre-elements clear all floats.

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'css/general.css'
2--- css/general.css 2010-12-17 11:39:04 +0000
3+++ css/general.css 2015-06-25 10:33:18 +0000
4@@ -145,6 +145,16 @@
5 {
6 float: left;
7 margin: 0 8px 8px 0;
8+
9+ max-width: 100%;
10+ height: auto;
11+}
12+
13+.post .entry-content pre {
14+ clear: both;
15+
16+ max-width: 100%;
17+ overflow: scroll;
18 }
19
20 .post .entry-utility

Subscribers

People subscribed via source and target branches