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:
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user