You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
The placement of text in the find box seems too high #20
I noticed this too. It's all mini editors. I tried to fix it with css, but
something in JS seems to be compensating for it. I'm not sure exactly
what's causing it. The scroll pane under editor is 2px too high.
I think it has something to do with DisplayBuffer::screenPositionForBufferPosition?
When you have the issue, look at the scroll-view element in the inspector. It looks to be 2px too high (though, I cant for the life of me figure out why, flexbox?). In css (static/editor.less), I can give it a top of something ridic like 10px. It now looks way too low in the mini editor. Reload, open the find and replace box, and the editor has the same issue. WTF. Looking at the markup, the cursor and the hiddenInput both now have compensated for my scroll-view top of 10px with their own top: 10px.
Activity
nathansobo commentedon Sep 24, 2013
Weird... I just noticed this goes away after closing it and re-opening.
benogle commentedon Sep 24, 2013
I noticed this too. It's all mini editors. I tried to fix it with css, but
something in JS seems to be compensating for it. I'm not sure exactly
what's causing it. The scroll pane under editor is 2px too high.
On Tue, Sep 24, 2013 at 1:03 PM, Nathan Sobo [email protected]:
benogle commentedon Sep 24, 2013
I think it has something to do with
DisplayBuffer::screenPositionForBufferPosition?When you have the issue, look at the
scroll-viewelement in the inspector. It looks to be 2px too high (though, I cant for the life of me figure out why, flexbox?). In css (static/editor.less), I can give it a top of something ridic like 10px. It now looks way too low in the mini editor. Reload, open the find and replace box, and the editor has the same issue. WTF. Looking at the markup, the cursor and thehiddenInputboth now have compensated for myscroll-viewtop of 10px with their owntop: 10px.It also fixes itself. Try this
benogle commentedon Sep 26, 2013
Moved to atom/atom#887