MDL-74331 question bank: prevent any one column getting too wide

This commit is contained in:
Tim Hunt 2022-03-29 21:20:39 +01:00
parent ad6dc71c56
commit 4144d09b4d
3 changed files with 24 additions and 2 deletions

View File

@ -147,6 +147,7 @@
td,
th {
padding: 0 0.2em;
max-width: 40vw;
}
th {
@ -655,3 +656,12 @@ body.path-question-type .mform fieldset.hidden {
margin: 0;
}
}
@include media-breakpoint-down(md) {
#categoryquestions {
td,
th {
max-width: 75vw;
}
}
}

View File

@ -16529,7 +16529,8 @@ a.ygtvspacer:hover {
margin: 0; }
#categoryquestions td,
#categoryquestions th {
padding: 0 0.2em; }
padding: 0 0.2em;
max-width: 40vw; }
#categoryquestions th {
text-align: left;
font-weight: normal; }
@ -16954,6 +16955,11 @@ body.path-question-type .mform fieldset.hidden {
.que .content {
margin: 0; } }
@media (max-width: 991.98px) {
#categoryquestions td,
#categoryquestions th {
max-width: 75vw; } }
/* user.less */
.userprofile .fullprofilelink {
text-align: center;

View File

@ -16529,7 +16529,8 @@ a.ygtvspacer:hover {
margin: 0; }
#categoryquestions td,
#categoryquestions th {
padding: 0 0.2em; }
padding: 0 0.2em;
max-width: 40vw; }
#categoryquestions th {
text-align: left;
font-weight: normal; }
@ -16954,6 +16955,11 @@ body.path-question-type .mform fieldset.hidden {
.que .content {
margin: 0; } }
@media (max-width: 991.98px) {
#categoryquestions td,
#categoryquestions th {
max-width: 75vw; } }
/* user.less */
.userprofile .fullprofilelink {
text-align: center;