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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user