From 0384c9cfc5d2efcff49959de9693738bda2b6ee6 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Sun, 3 Oct 2021 20:19:45 +0300 Subject: [PATCH] CLASSROOMIO-T-7: Fit exercise title in box --- src/routes/courses/[id]/marks.svelte | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/routes/courses/[id]/marks.svelte b/src/routes/courses/[id]/marks.svelte index c8779bbd..b12990b4 100644 --- a/src/routes/courses/[id]/marks.svelte +++ b/src/routes/courses/[id]/marks.svelte @@ -191,6 +191,11 @@ text-align: center; padding: 5px; width: 100px; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; } .br {