atomatigit
atomatigit copied to clipboard
GUI... messes up? Too many files displayed?
I think it might be because too many files...
Same here, in Branches and Log tabs
Happens on Atom 1.0. Possibly related to #86 with no scrolling capabilities.
Whether Atom isn't sending the scroll messages or atomatigit not handling them, I can't say now...
In case it may be useful to someone else, until it gets fixed upstream, I managed to fix this adding this code to my style.less
(should fix #88 and #86 as well, that seem duplicates):
.atomatigit {
overflow: auto;
display: -webkit-flex;
-webkit-flex-direction: column;
height: 100vh;
.hidden {
.current-branch-view {
-webkit-flex: 0 0 auto;
}
}
.lists {
-webkit-flex: 1 1 auto;
overflow: auto;
position: relative;
.list-view {
display: block;
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
}
}
.tab-bar {
-webkit-flex: 0 0 auto;
margin-bottom: auto;
}
}
maybe you should fork & pull request ^ xD
There is already a pull request (#107) to fix the same issue – most of this code comes from there – but hasn't been merged yet (~20 days) and I see from the commit history that the repo hasn't been updated for a while.. so, until @diiq updates the official package (or the project gets forked), I thought a quick & dirty local patch might come handy to the people using the package on a daily basis like me.