Change 'reset' link on preferences page to a button

pull/666/merge
Thibaut Courouble 7 years ago
parent 64f04305d3
commit 48f5fb1fb9

@ -35,6 +35,5 @@ app.templates.settingsPage = (settings) -> """
</div>
</div>
<p>
<a href="#" class="_reset-link" data-behavior="reset">Reset all preferences and data</a>
<button type="button" class="_btn-link _reset-btn" data-behavior="reset">Reset all preferences and data</button>
"""

@ -408,6 +408,11 @@
}
}
._reset-btn,
._reset-btn:hover {
color: $textColorRed;
}
._github-btn {
display: inline-block;
vertical-align: text-top;

@ -69,10 +69,6 @@
._setting-native-scrollbar { display: none; }
@supports (-webkit-margin-end: 1px) { ._setting-native-scrollbar { display: block; } }
._reset-link {
color: $textColorRed;
}
//
// Settings buttons
//

Loading…
Cancel
Save