Skip to content

Commit 071764b

Browse files
committed
limit answer column width to 350px & let task body stretch
1 parent a3ed2a1 commit 071764b

4 files changed

Lines changed: 16 additions & 6 deletions

File tree

projects/social_platform/src/app/office/courses/lesson/shared/exclude-task/exclude-task.component.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@
104104

105105
&__body,
106106
&__content {
107-
flex-grow: 1;
108107
min-height: 358px;
109108
padding: 24px;
110109
background-color: var(--light-white);
@@ -113,14 +112,16 @@
113112
}
114113

115114
&__body {
116-
max-width: 422px;
115+
flex: 1;
117116

118117
&--hasContent {
119118
max-width: 333px;
120119
}
121120
}
122121

123122
&__content {
123+
max-width: 350px;
124+
124125
&--hasContent {
125126
min-width: 333px;
126127
}

projects/social_platform/src/app/office/courses/lesson/shared/file-task/file-task.component.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,19 @@
1414

1515
&__header,
1616
&__content {
17-
flex-grow: 1;
1817
min-height: 358px;
1918
padding: 24px;
2019
background: var(--light-white);
2120
border: 0.5px solid var(--medium-grey-for-outline);
2221
border-radius: var(--rounded-lg);
2322
}
2423

24+
&__header {
25+
flex: 1;
26+
}
27+
2528
&__content {
29+
max-width: 350px;
2630
min-width: 333px;
2731
padding: 12px 24px;
2832

projects/social_platform/src/app/office/courses/lesson/shared/radio-select-task/radio-select-task.component.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@
110110

111111
&__body,
112112
&__content {
113-
flex-grow: 1;
114113
min-height: 358px;
115114
padding: 24px;
116115
background-color: var(--light-white);
@@ -119,7 +118,7 @@
119118
}
120119

121120
&__body {
122-
max-width: 422px;
121+
flex: 1;
123122

124123
&--hasContent {
125124
display: flex;
@@ -143,6 +142,8 @@
143142
}
144143

145144
&__content {
145+
max-width: 350px;
146+
146147
&--hasContent {
147148
min-width: 333px;
148149
}

projects/social_platform/src/app/office/courses/lesson/shared/write-task/write-task.component.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,19 @@
1313

1414
&__header,
1515
&__content {
16-
flex-grow: 1;
1716
min-height: 358px;
1817
padding: 24px;
1918
background: var(--light-white);
2019
border: 0.5px solid var(--medium-grey-for-outline);
2120
border-radius: var(--rounded-lg);
2221
}
2322

23+
&__header {
24+
flex: 1;
25+
}
26+
2427
&__content {
28+
max-width: 350px;
2529
min-width: 333px;
2630
padding: 12px 24px;
2731
}

0 commit comments

Comments
 (0)