Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css

Issue 10969049: CSS tweaks for wallpaper manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using line height instead Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/wallpaper_manager/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css
diff --git a/chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css b/chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css
index 78c89e5df4b24144d28931580704eed9c610c8f0..48e4eeadcf639702e337b5a92fa9e8dbe7405f79 100644
--- a/chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css
+++ b/chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css
@@ -85,6 +85,10 @@ body {
.image-picker {
-webkit-box-flex: 1;
display: -webkit-box;
+ /* Set line height to 100% to remove the extra vertical margin between two
+ * rows of thumbnails.
+ */
+ line-height: 100%;
outline: none;
overflow-y: auto;
}
@@ -97,11 +101,8 @@ body {
}
.image-picker [role=listitem] {
- border: 1px solid rgba(0, 0, 0, 0.15);
- border-radius: 4px;
height: 68px;
margin: 1px;
- padding: 2px;
width: 108px;
}
@@ -115,9 +116,10 @@ body {
width: 108px;
}
-.image-picker [selected][lead] {
+.image-picker [selected][lead] img {
border: 2px solid rgb(0, 102, 204);
- padding: 1px;
+ height: 64px;
+ width: 104px;
}
#wallpaper-attribute {
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/wallpaper_manager/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698