| @@ -8,16 +8,17 @@ app.templates.settingsPage = (settings) -> """ · 7 unmodified lines |
| 8 | 8 | <label class="_settings-label"> |
| 9 | 9 | <input type="checkbox" name="dark" value="1"#{if settings.dark then ' checked' else ''}>Enable dark theme |
| 10 | 10 | </label> |
| 11 | | − <label class="_settings-label _settings-max-width"> |
| 11 | + <label class="_settings-label _setting-max-width"> |
| 12 | 12 | <input type="checkbox" name="layout" value="_max-width"#{if settings['_max-width'] then ' checked' else ''}>Enable fixed-width layout |
| 13 | 13 | </label> |
| 14 | | − <label class="_settings-label"> |
| 14 | + <label class="_settings-label _hide-on-mobile"> |
| 15 | 15 | <input type="checkbox" name="layout" value="_sidebar-hidden"#{if settings['_sidebar-hidden'] then ' checked' else ''}>Automatically hide and show the sidebar |
| 16 | + <small>Tip: drag the edge of the sidebar to resize it.</small> |
| 16 | 17 | </label> |
| 17 | 18 | </div> |
| 18 | 19 | </div> |
| 19 | 20 | |
| 20 | | − <div class="_settings-fieldset"> |
| 21 | + <div class="_settings-fieldset _hide-on-mobile"> |
| 21 | 22 | <h2 class="_settings-legend">Scrolling:</h2> |
| 22 | 23 | |
| 23 | 24 | <div class="_settings-inputs"> |
| @@ -31,11 +32,6 @@ app.templates.settingsPage = (settings) -> """ · 7 unmodified lines |
| 31 | 32 | </div> |
| 32 | 33 | </div> |
| 33 | 34 | |
| 34 | | − <div class="_settings-fieldset"> |
| 35 | | − <h2 class="_settings-legend">Advanced:</h2> |
| 36 | | − |
| 37 | | − <div class="_settings-inputs"> |
| 38 | | − <a href="#" class="_settings-link" data-behavior="reset">Reset all settings and data</a> |
| 39 | | − </div> |
| 40 | | − </div> |
| 35 | + <p> |
| 36 | + <a href="#" class="_reset-link" data-behavior="reset">Reset all settings and data</a> |
| 41 | 37 | """ |