Improve sticky feed extension
Fix https://github.com/FreshRSS/FreshRSS/issues/753
This commit is contained in:
parent
6ac80cbdb9
commit
8c1546ca66
2 changed files with 36 additions and 12 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue