diff --git a/doc/style.css b/doc/style.css
index fa4b2a38a..aa27d8866 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -172,7 +172,8 @@ div.recentchanges {
width: 35%;
font-size: small;
}
-.recentchanges .pagelinks {
+.recentchanges .pagelinks,
+.recentchanges .revert {
float: right;
margin: 0;
width: 60%;
diff --git a/templates/change.tmpl b/templates/change.tmpl
index 9cf40777b..4525402a7 100644
--- a/templates/change.tmpl
+++ b/templates/change.tmpl
@@ -10,10 +10,8 @@
Changed pages:
Changed by:
@@ -29,8 +27,10 @@
Date:
-[[revert|wikiicons/revert.png]]
+
+[[revert|wikiicons/revert.png]]
+