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

Proposed by Pasi Lallinaho
Status: Merged
Approved by: Anthony Dillon
Approved revision: 32
Merged at revision: 32
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 Approve
Review via email: mp+262957@code.launchpad.net

This proposal supersedes a proposal from 2015-01-24.

Description of the change

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.

Clearing all floats for <pre>-elements as requested.

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

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 : Posted in a previous version of this proposal

Hey Anthony, what's the status on this?

Revision history for this message
Pasi Lallinaho (knome) wrote : Posted in a previous version of this proposal

Any update since one month?

Revision history for this message
Pasi Lallinaho (knome) wrote : Posted in a previous version of this proposal

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 : Posted in a previous version of this proposal

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 : Posted in a previous version of this proposal

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 : Posted in a previous version of this proposal

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 : Posted in a previous version of this proposal

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
Revision history for this message
Pasi Lallinaho (knome) wrote :

Added clearing as requested.

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

Thank you very much.

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

Update is merged and sent an RT to have the latest revision launched live.

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

We still can't see this in production - is there an IS RT ticket we can follow-up on?

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

Any update on this?

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

Pasi,

Thank you for reminding me. It looks like that merge proposal has
conflicts. I'll resolve them and have it landed shortly.

Ant.

On Sat, 12 Sep 2015 11:29 Pasi Lallinaho <email address hidden> wrote:

> Any update on this?
> --
>
> https://code.launchpad.net/~knome/planet-ubuntu/prevent-img-pre-overlap/+merge/262957
> You are reviewing the proposed merge of
> lp:~knome/planet-ubuntu/prevent-img-pre-overlap into lp:planet-ubuntu.
>

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:34:00 +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