From 80d46679b0daf5c3995c3b9bf421e16e48e0190c Mon Sep 17 00:00:00 2001 From: "dolske@mozilla.com" Date: Mon, 2 Jul 2007 23:11:19 -0700 Subject: [PATCH] Bug 385503: 'Set Desktop Background' on an image large than screen and position=center preview is too large, patch by Dao Gottwald , r=mano --- browser/themes/pinstripe/browser/setDesktopBackground.css | 3 +++ browser/themes/winstripe/browser/setDesktopBackground.css | 3 +++ 2 files changed, 6 insertions(+) diff --git a/browser/themes/pinstripe/browser/setDesktopBackground.css b/browser/themes/pinstripe/browser/setDesktopBackground.css index db2a7a2e310..a20eb758fc3 100644 --- a/browser/themes/pinstripe/browser/setDesktopBackground.css +++ b/browser/themes/pinstripe/browser/setDesktopBackground.css @@ -2,6 +2,9 @@ #monitor { margin: 18px 20px 38px 13px; + width: 153px; + height: 114px; + overflow: hidden; } #monitorImage { diff --git a/browser/themes/winstripe/browser/setDesktopBackground.css b/browser/themes/winstripe/browser/setDesktopBackground.css index e3d248e6d50..909c659d08e 100644 --- a/browser/themes/winstripe/browser/setDesktopBackground.css +++ b/browser/themes/winstripe/browser/setDesktopBackground.css @@ -2,6 +2,9 @@ #monitor { margin: 12px 11px 32px; + width: 153px; + height: 114px; + overflow: hidden; } #monitorImage {