Skip to content

Commit 12e81f7

Browse files
committed
feat: cut lesson_title and add padding for deadline
1 parent 1d30425 commit 12e81f7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

frontend/src/style/calendar.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ $color-border-light: #e9ecef;
252252
padding-left: 47px;
253253
padding-top: 7px;
254254
padding-bottom: 7px;
255+
padding-right: 10px;
255256
font-family: "Roboto Mono", monospace;
256257
font-weight: 400;
257258
font-size: 12px;
@@ -279,6 +280,7 @@ $color-border-light: #e9ecef;
279280
padding-left: 47px;
280281
padding-top: 7px;
281282
padding-bottom: 7px;
283+
padding-right: 10px;
282284
font-family: "Roboto Mono", monospace;
283285
font-weight: 400;
284286
font-size: 12px;
@@ -356,6 +358,10 @@ $color-border-light: #e9ecef;
356358
font-weight: 400;
357359
font-size: 13px;
358360
color: #2C2D2E;
361+
overflow: hidden;
362+
text-overflow: ellipsis;
363+
white-space: nowrap;
364+
max-width: 28ch;
359365
}
360366

361367
.netology-lesson {

0 commit comments

Comments
 (0)