Skip to content

Commit

Permalink
feat: using ellipsis for long names
Browse files Browse the repository at this point in the history
  • Loading branch information
kilianc committed Jul 2, 2015
1 parent 8854b5b commit acb15e8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/app.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ angular
})

function onMouseMove(e) {
var width = Math.min(600, Math.max(minWidth, e.clientX + handlerWidth))
var width = Math.min(600, Math.max(minWidth, e.clientX))
$element.css('width', width)
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,4 @@ <h4>Theme</h4>
<script src="app.js"></script>
<!-- endbuild -->
</body>
</html>
</html>
8 changes: 7 additions & 1 deletion app/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ header {
cursor: col-resize;
height: 100%;
position: absolute;
right: 0;
right: -5px;
top: 0;
width: 10px;
}
Expand Down Expand Up @@ -158,6 +158,12 @@ header {
padding-left: 38px;
}

a {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}

i {
border-radius: 50%;
height: 8px;
Expand Down

0 comments on commit acb15e8

Please sign in to comment.