Skip to content

Commit 4eb200b

Browse files
dennis531tgloeggl
andauthored
Allow line breaks in video table, fix #1270 (#1284)
* Allow line breaks in video table, fix #1270 * Add max height for title Co-authored-by: Till <[email protected]> * Add max width and no wrap for presenters Co-authored-by: Till <[email protected]> --------- Co-authored-by: Till <[email protected]>
1 parent 8245672 commit 4eb200b

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

assets/css/opencast.scss

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,9 @@ $action-menu-icon-size: 20px;
312312
gap: 5px;
313313

314314
margin: 0;
315-
overflow-wrap: anywhere;
315+
hyphens: auto;
316+
overflow-wrap: break-word;
317+
max-height: 3em;
316318
}
317319

318320
a {
@@ -325,23 +327,17 @@ $action-menu-icon-size: 20px;
325327
row-gap: 5px;
326328

327329
margin-top: 8px;
328-
white-space: nowrap;
329330
overflow: auto;
330331
}
331332
}
332333

333-
.oc--date {
334-
white-space: nowrap;
335-
overflow: hidden;
336-
text-overflow: ellipsis;
337-
}
338-
339334
.oc--presenters {
335+
max-width: 200px;
340336
white-space: nowrap;
341337
overflow: hidden;
342338
text-overflow: ellipsis;
343339
}
344-
340+
345341
.oc--metadata--empty {
346342

347343
h2, div {
@@ -356,15 +352,6 @@ $action-menu-icon-size: 20px;
356352
}
357353
}
358354

359-
.oc--sort-options {
360-
text-align: right;
361-
white-space: nowrap;
362-
363-
img {
364-
cursor: pointer;
365-
}
366-
}
367-
368355
.oc--ghost {
369356
opacity: 0.5;
370357
background: dodgerblue;

0 commit comments

Comments
 (0)