Merge lp:~zematynnad/ubuntu-webcatalog/screenshot_height_923392 into lp:ubuntu-webcatalog

Proposed by Danny Tamez
Status: Merged
Approved by: Anthony Lenton
Approved revision: 62
Merged at revision: 62
Proposed branch: lp:~zematynnad/ubuntu-webcatalog/screenshot_height_923392
Merge into: lp:ubuntu-webcatalog
Diff against target: 22 lines (+3/-2)
1 file modified
src/webcatalog/static/css/webcatalog.css (+3/-2)
To merge this branch: bzr merge lp:~zematynnad/ubuntu-webcatalog/screenshot_height_923392
Reviewer Review Type Date Requested Status
Anthony Lenton (community) Approve
Review via email: mp+95473@code.launchpad.net

Commit message

CSS fix for screenshot width and height.

Description of the change

Overview
========
This branch is a simple css fix for screenshot width and height

Details
=======
The css now has 225px as the max-width and 170px as the max-height for the screenshot.
A screenshot of the page is at http://simplest-image-hosting.net/png-0-plasma-desktopaw2146

To post a comment you must log in.
Revision history for this message
Anthony Lenton (elachuni) wrote :

Looks fine!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/webcatalog/static/css/webcatalog.css'
2--- src/webcatalog/static/css/webcatalog.css 2011-09-19 21:20:57 +0000
3+++ src/webcatalog/static/css/webcatalog.css 2012-03-01 21:36:36 +0000
4@@ -57,7 +57,8 @@
5 }
6
7 .screenshot img {
8- width: 225px;
9+ max-width: 225px;
10+ max-height: 170px;
11 border: 1px solid gray;
12 padding: 3px;
13 }
14@@ -243,7 +244,7 @@
15 }
16 .review .star-rating {
17 display: inline;
18- margin-right: 8px;
19+ margin-right: 8px;
20 }
21 .review p {
22 margin-top: 10px;

Subscribers

People subscribed via source and target branches