1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

改善 - Finder descriptionのTextoverflow対策, 最初起動の時のFinderの異常振る舞い

This commit is contained in:
Rokt33r
2015-08-22 03:46:30 +09:00
parent 657ebc99df
commit b88d5cfb06
3 changed files with 5 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ var Finder = React.createClass({
document.addEventListener('keydown', this.handleKeyDown) document.addEventListener('keydown', this.handleKeyDown)
document.addEventListener('click', this.handleClick) document.addEventListener('click', this.handleClick)
window.addEventListener('focus', this.handleFinderFocus) window.addEventListener('focus', this.handleFinderFocus)
this.handleFinderFocus()
}, },
componentWillUnmount: function () { componentWillUnmount: function () {
document.removeEventListener('keydown', this.handleKeyDown) document.removeEventListener('keydown', this.handleKeyDown)

View File

@@ -65,6 +65,9 @@ body
border-bottom solid 1px borderColor border-bottom solid 1px borderColor
line-height 44px line-height 44px
font-size 1.3em font-size 1.3em
white-space nowrap
text-overflow ellipsis
overflow-x hidden
.content .content
.ace_editor, .marked .ace_editor, .marked
position absolute position absolute

View File

@@ -1,6 +1,6 @@
{ {
"name": "boost", "name": "boost",
"version": "0.2.1.1", "version": "0.2.2",
"description": "Boost App", "description": "Boost App",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {