Skip to content

Commit 788ecf8

Browse files
alexandermeindlNicolas Rodriguez
authored and
Nicolas Rodriguez
committed
Fix css spacer bug for compatibility with core css
1 parent 8821009 commit 788ecf8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: app/views/repository_mirrors/index.html.haml

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@
3535
- else
3636
%p{ class: 'nodata' }= l(:label_no_data)
3737

38-
.spacer
38+
.git_hosting_spacer
3939

4040
%div{ style: 'margin: 2px 3px; width: 99%;' }
4141
%div
4242
= zero_clipboard_button_for('mirror_pubkey')
4343
%span{ style: 'margin-left: 10px;' }= l(:label_mirror_help) + ' :'
4444

45-
.spacer
45+
.git_hosting_spacer
4646

4747
%textarea{ id: 'mirror_pubkey', readonly: 'readonly', style: 'height: 100px; width: 99%; font-family: sans-serif;' }= RedmineGitHosting::Config.mirroring_public_key
4848

49-
.spacer
49+
.git_hosting_spacer
5050

5151
:javascript
5252
$(document).ready(function() { initModalBoxes(modals); });

Diff for: assets/stylesheets/application.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ REPOSITORY SETTINGS
136136
/*
137137
MISC
138138
*/
139-
.spacer { display: block; height: 10px; clear: both; }
139+
.git_hosting_spacer { display: block; height: 10px; clear: both; }
140140

141141
td.buttons { width: 20%; }
142142

0 commit comments

Comments
 (0)