Skip to content

Commit 18a2180

Browse files
committed
fix button & content-container width
1 parent 5e2af17 commit 18a2180

5 files changed

Lines changed: 45 additions & 11 deletions

File tree

projects/social_platform/src/app/office/courses/lesson/lesson.component.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@
7474
margin-top: 20px;
7575

7676
:last-child {
77-
width: 333px;
77+
width: 90%;
78+
79+
@include responsive.apply-desktop {
80+
width: 333px;
81+
}
7882
}
7983
}
8084
}
@@ -108,8 +112,8 @@
108112
.action {
109113
&__button {
110114
position: fixed;
111-
bottom: 1%;
112-
left: 7%;
115+
bottom: 2%;
116+
left: 5%;
113117

114118
@include responsive.apply-desktop {
115119
position: static;

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

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,27 @@
136136
}
137137

138138
&__content {
139-
max-width: 350px;
139+
max-width: 100%;
140+
141+
@include responsive.apply-desktop {
142+
max-width: 350px;
143+
}
144+
140145

141146
&--hasContent {
142-
min-width: 333px;
147+
max-width: 100%;
148+
149+
@include responsive.apply-desktop {
150+
min-width: 333px;
151+
}
143152
}
144153

145154
&:not(&--hasContent) {
146-
max-width: 333px;
155+
max-width: 100%;
156+
157+
@include responsive.apply-desktop {
158+
max-width: 333px;
159+
}
147160
}
148161
}
149162

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
@@ -35,9 +35,13 @@
3535

3636
&__content {
3737
min-width: 333px;
38-
max-width: 350px;
38+
max-width: 100%;
3939
padding: 12px;
4040

41+
@include responsive.apply-desktop {
42+
max-width: 350px;
43+
}
44+
4145
::ng-deep {
4246
app-upload-file {
4347
.control {

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

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,26 @@
156156
}
157157

158158
&__content {
159-
max-width: 350px;
159+
max-width: 100%;
160+
161+
@include responsive.apply-desktop {
162+
max-width: 350px;
163+
}
160164

161165
&--hasContent {
162-
min-width: 333px;
166+
max-width: 100%;
167+
168+
@include responsive.apply-desktop {
169+
min-width: 333px;
170+
}
163171
}
164172

165173
&:not(&--hasContent) {
166-
max-width: 333px;
174+
max-width: 100%;
175+
176+
@include responsive.apply-desktop {
177+
max-width: 333px;
178+
}
167179
}
168180
}
169181

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@
3232

3333
&__content {
3434
min-width: 333px;
35-
max-width: 350px;
35+
max-width: 100%;
3636
padding: 12px;
3737

3838
@include responsive.apply-desktop {
39+
max-width: 350px;
3940
padding: 12px 24px;
4041
}
4142
}

0 commit comments

Comments
 (0)