Improve sticky feed extension

Fix https://github.com/FreshRSS/FreshRSS/issues/753
This commit is contained in:
Marien Fressinaud 2015-01-17 15:00:35 +01:00
parent 6ac80cbdb9
commit 8c1546ca66
2 changed files with 36 additions and 12 deletions

View file

@ -1,14 +1,18 @@
#aside_feed .tree.sticky {
position: fixed;
top: 0; bottom: 0;
#aside_feed.sticky {
position: relative;
}
#aside_feed.sticky .tree {
position: absolute;
left: 0;
width: 100%;
margin-top: 0;
overflow-y: auto;
}
@media(max-width: 840px) {
/* No effect on mobile */
#aside_feed .tree.sticky {
#aside_feed.sticky .tree {
position: static;
}
}