aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-03-02 23:30:25 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-03-02 23:30:25 +0100
commit46bc5ecd2a7dc6fefd18f5210410b9e69b519692 (patch)
tree05370e0f9dd9c9a5760c69c72b597d0f8cdba8b7
parentd0f058307fd3e74cf2c83b104236798dcedfe68f (diff)
Improve titles in bar title (template)
Titles can be extended on new line(s) when :hover happens Fix https://github.com/marienfressinaud/FreshRSS/issues/385 See https://github.com/marienfressinaud/FreshRSS/issues/320
-rw-r--r--p/themes/template/template.css10
1 files changed, 9 insertions, 1 deletions
diff --git a/p/themes/template/template.css b/p/themes/template/template.css
index e3567ea61..7b2401a18 100644
--- a/p/themes/template/template.css
+++ b/p/themes/template/template.css
@@ -2,6 +2,11 @@
/*=== GENERAL */
/*============*/
+html, body {
+ margin: 0;
+ padding: 0;
+}
+
/*=== Links */
a {
text-decoration: none;
@@ -385,8 +390,11 @@ a.btn {
.flux:not(.current):hover .item.title {
position: absolute;
top: 0;
- max-width: calc(100% - 325px);
+ height: auto;
+ max-width: calc(100% - 320px);
background: #fff;
+ white-space: normal;
+ z-index: 10;
}
.flux .item.title a {
color: #000;