Trim details to the summary, expand shows all (#1197)

* trim details using ellipsis

* fix css

* move styles to global stylesheet

* outline to none
This commit is contained in:
Bhanu Teja P 2019-05-24 15:07:11 +05:30 committed by Jaco Greeff
parent 196fc40253
commit f9501aa068
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ package-lock.json
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.idea/

View File

@ -102,3 +102,14 @@ article {
}
}
}
details[open] > summary {
white-space: normal;
}
details > summary {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
outline: none;
}