diff --git a/rhodecode/public/css/code-block.less b/rhodecode/public/css/code-block.less
--- a/rhodecode/public/css/code-block.less
+++ b/rhodecode/public/css/code-block.less
@@ -732,7 +732,8 @@ input.diff-collapse-state {
.diff-menu {
float: right;
- a, button {
+
+ a, span {
padding: 5px;
display: block;
float: left
diff --git a/rhodecode/templates/codeblocks/diffs.html b/rhodecode/templates/codeblocks/diffs.html
--- a/rhodecode/templates/codeblocks/diffs.html
+++ b/rhodecode/templates/codeblocks/diffs.html
@@ -271,13 +271,12 @@ from rhodecode.lib.diffs import NEW_FILE
${_('Show file before')}
%else:
-
${_('Show file before')}
-
+
%endif
%if filediff.patch['operation'] in ['A', 'M']:
%else:
-
${_('Show file after')}
-
+
%endif