Skip to content

Commit dc91cbb

Browse files
authored
Fix oppia#22705: Solved the "Classroom page overflow text" bug (oppia#23708)
* Fixed text overflow in classroom page * fixed lint warnings
1 parent 2c53071 commit dc91cbb

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

core/templates/pages/classroom-page/classroom-page.component.css

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
flex-direction: column;
6464
gap: 8px;
6565
height: 115px;
66-
padding: 24px 36px;
66+
padding: 12px 36px;
6767
width: 338px;
6868
}
6969

@@ -92,7 +92,7 @@
9292
.diagnostic-test-container .diagnostic-test-box a {
9393
color: #00645c;
9494
font-family: 'Roboto', Arial, sans-serif;
95-
font-size: 16px;
95+
font-size: 12px;
9696
font-style: normal;
9797
font-weight: 700;
9898
letter-spacing: -0.02em;
@@ -191,6 +191,8 @@
191191
font-weight: 400;
192192
line-height: 28px;
193193
margin: 0;
194+
padding-right: 10px;
195+
white-space: nowrap;
194196
}
195197

196198
.breadcrumbs-container .classroom-information-container .classroom-text-container h1 {
@@ -200,6 +202,8 @@
200202
font-style: normal;
201203
font-weight: 400;
202204
line-height: 68px;
205+
padding-right: 10px;
206+
white-space: nowrap;
203207
}
204208

205209
.breadcrumbs-container .classroom-breadcrumbs .desktop-breadcrumbs {
@@ -342,12 +346,18 @@
342346
font-size: 18px;
343347
font-style: normal;
344348
line-height: 22px;
349+
padding-right: 0;
350+
white-space: pre-wrap;
351+
345352
}
346353
.breadcrumbs-container .classroom-information-container .classroom-text-container h1 {
347-
font-size: 48px;
354+
font-size: 28px;
348355
letter-spacing: -0.02em;
349356
line-height: 36px;
350357
margin-top: 10px;
358+
padding-right: 0;
359+
white-space: pre-wrap;
360+
351361
}
352362

353363
.breadcrumbs-container .classroom-information-container .classroom-thumbnail-container .classroom-thumbnail {

0 commit comments

Comments
 (0)