From b0be8a15a8a3cb7471a6ed4f44b91fdffb78b737 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Mon, 19 Oct 2015 22:40:21 +0200 Subject: [PATCH] Improves styles for management on IE --- app/assets/stylesheets/admin.scss | 11 ++++++++--- app/assets/stylesheets/participation.scss | 1 + app/assets/stylesheets/print.css | 2 ++ app/views/management/_account_info.html.erb | 2 +- app/views/management/proposals/new.html.erb | 7 ++++--- app/views/management/users/show.html.erb | 2 ++ 6 files changed, 18 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index 85423df75..24682751a 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -28,13 +28,18 @@ body.admin { margin-top: 0; } - input[type="text"] { - height: 36px\9; - line-height: 36px\9; + input[type="text"], textarea { + height: 48px\9; + line-height: 48px\9; margin-bottom: 24px\9; + width: 100%; } } + #proposals { + width: 100% !important; + } + .dashboard { margin-bottom: rem-calc(48); diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 9aa06dd04..1f4bc85f1 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -436,6 +436,7 @@ padding-top: 0; font-size: rem-calc(15); line-height: rem-calc(30); + overflow: hidden; } .document-link, .video-link { diff --git a/app/assets/stylesheets/print.css b/app/assets/stylesheets/print.css index 9418d5ee0..0c67035c8 100644 --- a/app/assets/stylesheets/print.css +++ b/app/assets/stylesheets/print.css @@ -32,6 +32,8 @@ p.proposal-info span:nth-child(3) { display: none !important; } .button { display: none !important; } +.change-user { display: none !important; } + input[type="submit"] { display: none !important; } .select-order { diff --git a/app/views/management/_account_info.html.erb b/app/views/management/_account_info.html.erb index 4cfdc1371..24c64548f 100644 --- a/app/views/management/_account_info.html.erb +++ b/app/views/management/_account_info.html.erb @@ -2,7 +2,7 @@