From c9aea733ad966ac70b57f2fbf1a72de895fa03e5 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Wed, 26 Feb 2014 12:00:18 -0800 Subject: [PATCH] fixed explore maps floating left issue --- app/assets/stylesheets/application.css | 3 +++ app/controllers/maps_controller.rb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index b622b376..a29db594 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -92,6 +92,9 @@ body, } /* scrollbar override */ +.maps > div > div.mCS_no_scrollbar { + padding-right: 0px !important; +} .mCSB_container { margin-right: 15px !important; } diff --git a/app/controllers/maps_controller.rb b/app/controllers/maps_controller.rb index efda6f47..9085127b 100644 --- a/app/controllers/maps_controller.rb +++ b/app/controllers/maps_controller.rb @@ -236,7 +236,7 @@ class MapsController < ApplicationController @map.delete respond_to do |format| - format.html { redirect_to "/maps/mappers/" + @current.id.to_s } + format.html { redirect_to "/maps/mappers/" + @current.id.to_s, notice: "Map deleted." } end end end