Skip to content

Commit

Permalink
Improve path lisibility in desktop dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyPesse committed Mar 9, 2014
1 parent 1d8f100 commit f99e9f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions desktop/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ body {
margin: 9px 10px 0px 2px;
width: 32px;
}
#projects .project .project-path {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
#projects hr {
margin: 20px 10px;
border: 0px;
Expand Down
2 changes: 1 addition & 1 deletion desktop/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ var updateProjects = function() {
if (!fs.existsSync(path)) {
projects = _.without(projects, path);
}
addProjectItem(path.split("/").pop(), path, "icons/folder.png", function() {
addProjectItem(path.split("/").pop(), path.replace(process.env.HOME || "", "~"), "icons/folder.png", function() {
runLocalCodebox(path);
});
});
Expand Down

0 comments on commit f99e9f5

Please sign in to comment.