[epiphany] overview: Center vertically the thumbnails grid
- From: Lorenzo Tilve <ltilve src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] overview: Center vertically the thumbnails grid
- Date: Wed, 19 Mar 2014 14:57:31 +0000 (UTC)
commit a92506075d4bf1b24e6695e2e222b38825159c7a
Author: Lorenzo Tilve <ltilve igalia com>
Date: Wed Mar 19 11:29:39 2014 +0100
overview: Center vertically the thumbnails grid
Adjust the CSS styles of the overview to place the thumbnails grid
centered vertically on the browser window.
https://bugzilla.gnome.org/show_bug.cgi?id=726701
src/resources/overview.html | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/src/resources/overview.html b/src/resources/overview.html
index cd74511..c22bb41 100755
--- a/src/resources/overview.html
+++ b/src/resources/overview.html
@@ -33,10 +33,17 @@
}
#overview {
- padding: 60px 5px 0 5px;
+ padding: 0 5px;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
+ bottom: 0;
+ max-height: 540px;
+ margin: auto;
+ position: absolute;
+ top: 0;
+ right: 0;
+ left: 0;
}
#grid {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]