Change 'reset' link on preferences page to a button

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

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

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

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

Loading…
Cancel
Save