Skip to content

Commit 1c10913

Browse files
committed
Add text-overflow: ellipsis; to the header of editing form
1 parent 792947d commit 1c10913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/twirl/gist/edit.scala.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@recent.map { gist =>
1212
<li style="float: left; width: 200px;">
1313
<img src="@dataURI("images/snippet.png")" style="width: 24px; height: 24px;">
14-
<div style="margin-left: 26px; font-size: 80%; position: relative; top: -24px; line-height: normal;">
14+
<div style="margin-left: 26px; font-size: 80%; position: relative; top: -24px; line-height: normal; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;">
1515
<a class="strong" href="@path/gist/@gist.userName/@gist.repositoryName">@gist.title</a><br>
1616
@if(gist.description.nonEmpty){
1717
<span class="muted">@gist.description</span>

0 commit comments

Comments
 (0)