Skip to content

Commit 8c9816a

Browse files
committed
widen task iframe max-width and align read-more links to start in lesson components
1 parent 39c87a3 commit 8c9816a

5 files changed

Lines changed: 15 additions & 5 deletions

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
display: block;
3030
align-self: center;
3131
width: 100%;
32-
max-width: 295px;
32+
max-width: 395px;
3333
height: 223px;
3434
aspect-ratio: 16 / 9;
3535
border: 0;
@@ -84,6 +84,8 @@
8484
.read-more {
8585
margin-top: 12px;
8686
color: var(--accent);
87+
align-self: self-start;
88+
align-items: start;
8789
cursor: pointer;
8890
transition: color 0.2s;
8991

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
display: block;
106106
align-self: center;
107107
width: 100%;
108-
max-width: 295px;
108+
max-width: 395px;
109109
height: 223px;
110110
aspect-ratio: 16 / 9;
111111
border: 0;
@@ -157,6 +157,8 @@
157157
.read-more {
158158
margin-top: 12px;
159159
color: var(--accent);
160+
align-self: self-start;
161+
align-items: start;
160162
cursor: pointer;
161163
transition: color 0.2s;
162164

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
.read-more {
3636
margin-top: 12px;
3737
color: var(--accent);
38+
align-self: self-start;
39+
align-items: start;
3840
cursor: pointer;
3941
transition: color 0.2s;
4042

@@ -132,7 +134,7 @@
132134
display: block;
133135
align-self: center;
134136
width: 100%;
135-
max-width: 295px;
137+
max-width: 395px;
136138
height: 223px;
137139
aspect-ratio: 16 / 9;
138140
border: 0;

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
display: block;
1818
align-self: center;
1919
width: 100%;
20-
max-width: 295px;
20+
max-width: 395px;
2121
height: 223px;
2222
aspect-ratio: 16 / 9;
2323
border: 0;
@@ -77,6 +77,8 @@
7777
.read-more {
7878
margin-top: 12px;
7979
color: var(--accent);
80+
align-self: self-start;
81+
align-items: start;
8082
cursor: pointer;
8183
transition: color 0.2s;
8284

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
display: block;
5050
align-self: center;
5151
width: 100%;
52-
max-width: 295px;
52+
max-width: 395px;
5353
height: 223px;
5454
aspect-ratio: 16 / 9;
5555
border: 0;
@@ -65,6 +65,8 @@
6565
.read-more {
6666
margin-top: 12px;
6767
color: var(--accent);
68+
align-self: self-start;
69+
align-items: start;
6870
cursor: pointer;
6971
transition: color 0.2s;
7072

0 commit comments

Comments
 (0)