File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -637,6 +637,7 @@ ellipsis interaction with scrolling interfaces</h3>
637637 div.crawlbar {
638638 text-overflow: ellipsis;
639639 height: 2em;
640+ line-height: 1em;
640641 overflow: scroll;
641642 white-space: nowrap;
642643 width: 15em;
@@ -654,7 +655,7 @@ ellipsis interaction with scrolling interfaces</h3>
654655 </code></pre>
655656
656657 demonstration of sample CSS and HTML:
657- <div style="text-overflow: ellipsis; height: 2em; overflow: scroll; white-space: nowrap; width: 15em; border:1em solid black;">
658+ <div style="text-overflow: ellipsis; height: 2em; line-height:1; overflow: scroll; white-space: nowrap; width: 15em; border:1em solid black;">
658659 CSS is awesome, especially when you can scroll
659660 to see extra text instead of just
660661 having it overlap other text by default.
You can’t perform that action at this time.
0 commit comments