Skip to content

Commit 1a34bab

Browse files
committed
[css-overflow-4] Tweaks example
1 parent 2543ce5 commit 1a34bab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-overflow-4/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ ellipsis interaction with scrolling interfaces</h3>
682682
<div class="example">
683683
Same as previous example except with <code>text-overflow: ellipsis ellipsis</code>, demonstrated:
684684

685-
<div style="text-overflow: ellipsis ellipsis; height: 2em; overflow: scroll; white-space: nowrap; width: 15em; border:1em solid black;">
685+
<div style="text-overflow: ellipsis ellipsis; height: 2em; line-height: 1em; overflow: scroll; white-space: nowrap; width: 15em; border:1em solid black;">
686686
CSS is awesome, especially when you can scroll
687687
to see extra text instead of just
688688
having it overlap other text by default.

0 commit comments

Comments
 (0)