From fe32d14cfa3fdf056e00f279ac7ddd91a9e082d9 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Wed, 24 Sep 2014 14:32:37 +0200 Subject: Fix .as-link appearance in dropdown Related to https://github.com/marienfressinaud/FreshRSS/issues/633 --- p/themes/Dark/dark.css | 2 +- p/themes/Flat/flat.css | 2 +- p/themes/Origine/origine.css | 2 +- p/themes/Screwdriver/screwdriver.css | 2 +- p/themes/base-theme/base.css | 2 +- p/themes/base-theme/template.css | 3 +++ 6 files changed, 8 insertions(+), 5 deletions(-) (limited to 'p') diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index e47415366..10f6e655b 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -340,7 +340,7 @@ a.btn { } .dropdown-menu > .item > span, .dropdown-menu > .item > .as-link { - padding: 0 25px; + padding: 0 22px; line-height: 2em; } .dropdown-menu > .item:hover { diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 41d03c57d..484cee9f3 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -340,7 +340,7 @@ a.btn { } .dropdown-menu > .item > span, .dropdown-menu > .item > .as-link { - padding: 0 25px; + padding: 0 22px; line-height: 2em; } .dropdown-menu > .item:hover { diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index 6a4ef9699..08fc08379 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -366,7 +366,7 @@ a.btn { } .dropdown-menu > .item > span, .dropdown-menu > .item > .as-link { - padding: 0 25px; + padding: 0 22px; line-height: 2em; } .dropdown-menu > .item:hover { diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index c96d4bfe3..37fa18e10 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -394,7 +394,7 @@ a.btn { } .dropdown-menu > .item > span, .dropdown-menu > .item > .as-link { - padding: 0 25px; + padding: 0 22px; line-height: 2em; color: #ccc; } diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.css index 1688a6f79..ccfab10df 100644 --- a/p/themes/base-theme/base.css +++ b/p/themes/base-theme/base.css @@ -257,7 +257,7 @@ a.btn { } .dropdown-menu > .item > span, .dropdown-menu > .item > .as-link { - padding: 0 25px; + padding: 0 22px; line-height: 2em; } .dropdown-menu > .item:hover { diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index 0f00632ee..dc011503d 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/template.css @@ -96,6 +96,7 @@ button.as-link:active { color: inherit; cursor: pointer; font-size: 1.1em; + text-align: left; } /*=== Tables */ @@ -199,8 +200,10 @@ a.btn { display: block; } .dropdown-menu > .item > a, +.dropdown-menu > .item > .as-link, .dropdown-menu > .item > span { display: block; + min-width: 200px; } .dropdown-menu > .item[aria-checked="true"] > a:before { content: '✓'; -- cgit v1.2.3