From a9029e09289857d9baf1f95a2eb64a7b837b2d83 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Wed, 14 Sep 2016 11:08:40 +0200 Subject: [PATCH 1/4] fixes responsiveness on mobile phone for sample view --- .../javascripts/samples/sample_datatable.js | 4 +-- app/assets/stylesheets/extend/bootstrap.scss | 25 +++++++++++++++++++ app/views/my_modules/results.html.erb | 4 +-- app/views/shared/_samples.html.erb | 10 ++++---- 4 files changed, 34 insertions(+), 9 deletions(-) diff --git a/app/assets/javascripts/samples/sample_datatable.js b/app/assets/javascripts/samples/sample_datatable.js index 985c3b6c5..d2a40940a 100644 --- a/app/assets/javascripts/samples/sample_datatable.js +++ b/app/assets/javascripts/samples/sample_datatable.js @@ -9,13 +9,13 @@ var selectedSample; table = $("#samples").DataTable({ order: [[2, "desc"]], - dom: "RB<'row'<'col-sm-9 toolbar'l><'col-sm-3'f>>tpi", + dom: "RB<'row'<'col-sm-9-custom toolbar'l><'col-sm-3-custom'f>>tpi", stateSave: true, buttons: [{ extend: "colvis", text: function () { return ' ' + - '