From 059084c2a70d4ea0ad22507c73e6b9da5910c1d8 Mon Sep 17 00:00:00 2001 From: Olle Haerstedt Date: Wed, 20 Apr 2016 16:57:17 +0200 Subject: [PATCH] Fixed issue #10993: Alignment of radio buttons --- .../questions/listradio/rows/answer_row.php | 2 +- .../listradio/rows/answer_row_noanswer.php | 2 +- .../listradio/rows/answer_row_other.php | 6 ++--- templates/default/css/template.css | 25 ++++++++++++------- 4 files changed, 21 insertions(+), 14 deletions(-) diff --git a/application/views/survey/questions/listradio/rows/answer_row.php b/application/views/survey/questions/listradio/rows/answer_row.php index 4cfe8ded972..24c10979458 100644 --- a/application/views/survey/questions/listradio/rows/answer_row.php +++ b/application/views/survey/questions/listradio/rows/answer_row.php @@ -11,7 +11,7 @@ ?> -
> +
> -
+
-
> +
>
- +  
-
+
tbody > tr > td.ddprefix { padding-top: 11px; } + .col-xs-12.question-container { + padding-right: 0; + padding-left: 0; + } + } /** On small phones, leave some more space */ @media only screen and (max-width: 400px) { - .col-sm-12 { - padding: 0; - } - - .col-xs-12 { - padding-right: 0; - padding-left: 0; - } - .array-by-columns-div .radio-list { border: 1px solid #ccc; padding: 1em; margin: 1em; } + /* + .col-sm-12.answer { + padding-left: 0; + padding-right: 0; + } + */ + + .no-more-tables tbody { + padding-left: 0; + padding-right: 0; + } /* For yes-no question, shrink the buttons a bit on phone screens */ .btn-lg, .btn-group-lg label {