[epiphany] Most visited: hide 9th item on narrow widths to avoid uneven number of items
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Most visited: hide 9th item on narrow widths to avoid uneven number of items
- Date: Sun, 4 Aug 2019 23:21:18 +0000 (UTC)
commit b0a1cadf153f2ee9ce9210f775373f30d0fcd8b1
Author: Tobias Bernard <tbernard gnome org>
Date: Mon Jul 29 13:06:28 2019 +0200
Most visited: hide 9th item on narrow widths to avoid uneven number of items
src/resources/about.css | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/src/resources/about.css b/src/resources/about.css
index 1217325be..09a949a8f 100644
--- a/src/resources/about.css
+++ b/src/resources/about.css
@@ -262,6 +262,17 @@ html.epiphany-html {
text-decoration: none;
}
+/* Hide 9th item on narrow widths to avoid uneven number*/
+.overview-item:last-child {
+ display: none;
+}
+
+@media (min-width: 672px) {
+ .overview-item:last-child {
+ display: block;
+ }
+}
+
.overview-title {
margin: 10px 6px;
padding-bottom: 2px;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]