File tree 2 files changed +1
-15
lines changed 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -128,11 +128,6 @@ def create
128
128
129
129
# display a page (in editing mode if it doesn't exist)
130
130
def show
131
- # TODO FIXME OMG! this is the ugliest hack I ever performed
132
- # We need to hide the clearfix in the wiki to avoid additional spacing in the wiki
133
- # THIS HACK NEEDS TO BE REPLACED BY AN ENGINEERS SOLUTION!
134
- @no_clearfix = true
135
-
136
131
@page = @wiki . find_or_new_page ( wiki_page_title )
137
132
if @page . new_record?
138
133
if User . current . allowed_to? ( :edit_wiki_pages , @project ) && editable?
Original file line number Diff line number Diff line change @@ -28,12 +28,7 @@ See docs/COPYRIGHT.rdoc for more details.
28
28
++#%>
29
29
30
30
<% action_menu_key = action_menu_key ? action_menu_key : :action_menu_main %>
31
- <%
32
- # TODO FIXME OMG! this is the ugliest hack I ever performed
33
- # We need to hide the clearfix in the wiki to avoid additional spacing in the wiki
34
- # THIS HACK NEEDS TO BE REPLACED BY AN ENGINEERS SOLUTION!
35
- @no_clearfix ||= false
36
- %>
31
+
37
32
<div class ="toolbar-container ">
38
33
< div class ="toolbar ">
39
34
< ul class ="toolbar-items <%= action_menu_key %> <%= action_menu_key . to_s . gsub ( 'action_menu_' , 'legacy-actions-' ) %> ">
@@ -53,7 +48,3 @@ See docs/COPYRIGHT.rdoc for more details.
53
48
</ ul >
54
49
</ div >
55
50
</ div >
56
-
57
- <% unless @no_clearfix %>
58
- < div class ="clearfix "> </ div >
59
- <% end %>
You can’t perform that action at this time.
0 commit comments