mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
Style fixes for tools & 404 page:
- Set Bootstrap colors for background colors - Adjust button padding to work in more contexts - Removed unused tool CSS. Migrated some styles to SCSS. - Fix sticky overlap in faucets sidebar - Make 404 page inherit from base template
This commit is contained in:
@@ -65,8 +65,8 @@ function make_commands_clickable() {
|
||||
select_request(cmd);
|
||||
window.location.hash = cmd;
|
||||
|
||||
$(this).siblings().removeClass('selected');
|
||||
$(this).addClass('selected');
|
||||
$(this).siblings().removeClass('active');
|
||||
$(this).addClass('active');
|
||||
});
|
||||
}
|
||||
|
||||
@@ -86,8 +86,8 @@ function select_request(request) {
|
||||
} else {
|
||||
el = commandlist.find("li a[href='#"+request+"']").parent()
|
||||
}
|
||||
$(el).siblings().removeClass('selected');
|
||||
$(el).addClass('selected');
|
||||
$(el).siblings().removeClass('active');
|
||||
$(el).addClass('active');
|
||||
|
||||
const command = requests[request];
|
||||
if (command === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user