From 788ecf82655d4a919df3833deba7703af1af764e Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Fri, 7 Aug 2015 12:11:58 +0200 Subject: [PATCH] Fix css spacer bug for compatibility with core css --- app/views/repository_mirrors/index.html.haml | 6 +++--- assets/stylesheets/application.css | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/repository_mirrors/index.html.haml b/app/views/repository_mirrors/index.html.haml index d20c0c13c21..f0768a0281a 100644 --- a/app/views/repository_mirrors/index.html.haml +++ b/app/views/repository_mirrors/index.html.haml @@ -35,18 +35,18 @@ - else %p{ class: 'nodata' }= l(:label_no_data) - .spacer + .git_hosting_spacer %div{ style: 'margin: 2px 3px; width: 99%;' } %div = zero_clipboard_button_for('mirror_pubkey') %span{ style: 'margin-left: 10px;' }= l(:label_mirror_help) + ' :' - .spacer + .git_hosting_spacer %textarea{ id: 'mirror_pubkey', readonly: 'readonly', style: 'height: 100px; width: 99%; font-family: sans-serif;' }= RedmineGitHosting::Config.mirroring_public_key - .spacer + .git_hosting_spacer :javascript $(document).ready(function() { initModalBoxes(modals); }); diff --git a/assets/stylesheets/application.css b/assets/stylesheets/application.css index 9e3f1796cab..bb585753221 100644 --- a/assets/stylesheets/application.css +++ b/assets/stylesheets/application.css @@ -136,7 +136,7 @@ REPOSITORY SETTINGS /* MISC */ -.spacer { display: block; height: 10px; clear: both; } +.git_hosting_spacer { display: block; height: 10px; clear: both; } td.buttons { width: 20%; }