Unified · Split
| @@ -55,7 +55,10 @@ class app.views.Mobile extends app.View · 54 unmodified lines | ||
| 55 | 55 | return |
| 56 | 56 | |
| 57 | 57 | showSidebar: => |
| 58 | − return if @isSidebarShown() | |
| 58 | + if @isSidebarShown() | |
| 59 | + @body.scrollTop = 0 | |
| 60 | + return | |
| 61 | + | |
| 59 | 62 | @contentTop = @body.scrollTop |
| 60 | 63 | @content.style.display = 'none' |
| 61 | 64 | @sidebar.style.display = 'block' |
| @@ -55,9 +55,6 @@ · 54 unmodified lines | ||
| 55 | 55 | position: static; |
| 56 | 56 | min-height: 100%; |
| 57 | 57 | overflow: visible; |
| 58 | − padding-bottom: 2rem; | |
| 59 | − | |
| 60 | − > ._list { padding-bottom: 0; } | |
| 61 | 58 | } |
| 62 | 59 | |
| 63 | 60 | ._list, ._sidebar-footer { width: 100%; } |
| @@ -81,16 +78,10 @@ · 17 unmodified lines | ||
| 81 | 78 | |
| 82 | 79 | ._list-link { display: none; } |
| 83 | 80 | |
| 84 | − ._sidebar-footer { | |
| 85 | − position: static; | |
| 86 | − margin-top: .5rem; | |
| 87 | − font-weight: bold; | |
| 88 | − | |
| 89 | − &:before { content: none; } | |
| 90 | − } | |
| 81 | + ._sidebar-footer { box-shadow: none; } | |
| 91 | 82 | |
| 92 | 83 | ._sidebar-footer-save { |
| 93 | − margin-top: 1rem; | |
| 84 | + margin: 0; | |
| 94 | 85 | box-shadow: 0 1px $noteGreenBorder, 0 -1px $noteGreenBorder; |
| 95 | 86 | } |
| 96 | 87 | |