1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-10 13:15:56 +00:00

Simple HTML sanitizer implementation

This commit is contained in:
James Hillyerd
2018-01-06 16:45:12 -08:00
parent dedd0eacff
commit 26c38b1148
6 changed files with 121 additions and 4 deletions

View File

@@ -51,12 +51,17 @@ body {
}
}
#body-tabs > li > a {
padding-top: 6px;
padding-bottom: 6px;
}
.message-body {
padding: 0 5px;
padding: 10px 4px;
}
.message-attachments {
margin-top: 20px;
margin-top: 5px;
padding: 10px 10px 0 0;
}

View File

@@ -157,6 +157,7 @@ function onMessageLoaded(responseText, textStatus, XMLHttpRequest) {
return;
}
onDocumentChange();
$('#body-tabs a:first').tab('show')
var top = $('#message-container').offset().top - navBarOffset;
$(window).scrollTop(top);
}