Skip to content

Commit

Permalink
Merge pull request #3085 from martinpovolny/sand_hack_reload
Browse files Browse the repository at this point in the history
Services: fix styling on detail page reload.
  • Loading branch information
mzazrivec authored Dec 18, 2017
2 parents 149f399 + 512d5ac commit b7e0f61
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/views/service/explorer.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
-# Showing a specific Service
#main_div
= render :partial => "svcs_show", :locals => {:controller => "service"}
-# FIXME: remove sand-paper style hack when we resolve the div shared between
-# the GTL grid an details.
:javascript
setTimeout(function() {
var mainContent = $('#main-content');
mainContent.removeClass('miq-sand-paper');
});
- else
-# Showing a list of VMs
#main_div
Expand Down

0 comments on commit b7e0f61

Please sign in to comment.