Skip to content

Commit

Permalink
Fixed issue #11537: Large array questions moving out of question cont…
Browse files Browse the repository at this point in the history
…ainer
  • Loading branch information
LouisGac committed Aug 24, 2016
1 parent 9b91cd0 commit eecc0aa
Show file tree
Hide file tree
Showing 6 changed files with 120 additions and 96 deletions.
2 changes: 1 addition & 1 deletion templates/default/css/template-rtl.css

Large diffs are not rendered by default.

70 changes: 39 additions & 31 deletions templates/default/css/template.css
Expand Up @@ -464,6 +464,37 @@ table > tbody > tr > td.ddprefix {
vertical-align: middle;
}


/*
Arrays Question
*/

/* center the radio list in the td*/
td.answer-item.text-center
{
padding-left: 39px;
}

table.array-no-dropdown td.answer-item.text-center
{
padding-left: 45px;
}

.table-5-point-array td.answer-item.text-center
{
padding-left: 54px;
}

.table-10-point-array td.answer-item.text-center
{
padding-left: 40px;
}

.table-10-point-array thead tr th.text-center
{
padding-left: 0px;
}

/**
* On big screen only, iPad and up
*/
Expand Down Expand Up @@ -760,10 +791,16 @@ table > tbody > tr > td.ddprefix {

}

@media only screen and (max-width: 900px) and (min-width: 80px) {
@media only screen and (max-width: 1000px) and (min-width: 800px) {
.table-10-point-array td.answer-item.text-center
{
padding-left: 0px;
padding-left: 10px;
}

.table-10-point-array > thead > tr > th
{
text-align: left;
padding-right: 0px;
}
}

Expand All @@ -778,35 +815,6 @@ table > tbody > tr > td.ddprefix {
}


/*
Arrays Question
*/

/* center the radio list in the td*/
td.answer-item.text-center
{
padding-left: 39px;
}

table.array-no-dropdown td.answer-item.text-center
{
padding-left: 45px;
}

.table-5-point-array td.answer-item.text-center
{
padding-left: 54px;
}

.table-10-point-array td.answer-item.text-center
{
padding-left: 40px;
}

.table-10-point-array thead tr th.text-center
{
padding-left: 0px;
}


/* center the label text in no more table mode */
Expand Down
2 changes: 1 addition & 1 deletion templates/news_paper/css/template-rtl.css

Large diffs are not rendered by default.

70 changes: 39 additions & 31 deletions templates/news_paper/css/template.css
Expand Up @@ -464,6 +464,37 @@ table > tbody > tr > td.ddprefix {
vertical-align: middle;
}


/*
Arrays Question
*/

/* center the radio list in the td*/
td.answer-item.text-center
{
padding-left: 39px;
}

table.array-no-dropdown td.answer-item.text-center
{
padding-left: 45px;
}

.table-5-point-array td.answer-item.text-center
{
padding-left: 54px;
}

.table-10-point-array td.answer-item.text-center
{
padding-left: 40px;
}

.table-10-point-array thead tr th.text-center
{
padding-left: 0px;
}

/**
* On big screen only, iPad and up
*/
Expand Down Expand Up @@ -760,10 +791,16 @@ table > tbody > tr > td.ddprefix {

}

@media only screen and (max-width: 900px) and (min-width: 80px) {
@media only screen and (max-width: 1000px) and (min-width: 800px) {
.table-10-point-array td.answer-item.text-center
{
padding-left: 0px;
padding-left: 10px;
}

.table-10-point-array > thead > tr > th
{
text-align: left;
padding-right: 0px;
}
}

Expand All @@ -778,35 +815,6 @@ table > tbody > tr > td.ddprefix {
}


/*
Arrays Question
*/

/* center the radio list in the td*/
td.answer-item.text-center
{
padding-left: 39px;
}

table.array-no-dropdown td.answer-item.text-center
{
padding-left: 45px;
}

.table-5-point-array td.answer-item.text-center
{
padding-left: 54px;
}

.table-10-point-array td.answer-item.text-center
{
padding-left: 40px;
}

.table-10-point-array thead tr th.text-center
{
padding-left: 0px;
}


/* center the label text in no more table mode */
Expand Down
2 changes: 1 addition & 1 deletion templates/ubuntu_orange/css/template-rtl.css

Large diffs are not rendered by default.

70 changes: 39 additions & 31 deletions templates/ubuntu_orange/css/template.css
Expand Up @@ -464,6 +464,37 @@ table > tbody > tr > td.ddprefix {
vertical-align: middle;
}


/*
Arrays Question
*/

/* center the radio list in the td*/
td.answer-item.text-center
{
padding-left: 39px;
}

table.array-no-dropdown td.answer-item.text-center
{
padding-left: 45px;
}

.table-5-point-array td.answer-item.text-center
{
padding-left: 54px;
}

.table-10-point-array td.answer-item.text-center
{
padding-left: 40px;
}

.table-10-point-array thead tr th.text-center
{
padding-left: 0px;
}

/**
* On big screen only, iPad and up
*/
Expand Down Expand Up @@ -760,10 +791,16 @@ table > tbody > tr > td.ddprefix {

}

@media only screen and (max-width: 900px) and (min-width: 80px) {
@media only screen and (max-width: 1000px) and (min-width: 800px) {
.table-10-point-array td.answer-item.text-center
{
padding-left: 0px;
padding-left: 10px;
}

.table-10-point-array > thead > tr > th
{
text-align: left;
padding-right: 0px;
}
}

Expand All @@ -778,35 +815,6 @@ table > tbody > tr > td.ddprefix {
}


/*
Arrays Question
*/

/* center the radio list in the td*/
td.answer-item.text-center
{
padding-left: 39px;
}

table.array-no-dropdown td.answer-item.text-center
{
padding-left: 45px;
}

.table-5-point-array td.answer-item.text-center
{
padding-left: 54px;
}

.table-10-point-array td.answer-item.text-center
{
padding-left: 40px;
}

.table-10-point-array thead tr th.text-center
{
padding-left: 0px;
}


/* center the label text in no more table mode */
Expand Down

0 comments on commit eecc0aa

Please sign in to comment.