atomatigit icon indicating copy to clipboard operation
atomatigit copied to clipboard

GUI... messes up? Too many files displayed?

Open ganna-shmatova opened this issue 9 years ago • 5 comments

I think it might be because too many files...

image

ganna-shmatova avatar Jun 26 '15 15:06 ganna-shmatova

Same here, in Branches and Log tabs

lordofthelake avatar Jun 27 '15 10:06 lordofthelake

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...

mzbik avatar Jul 02 '15 18:07 mzbik

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;
  }
}

lordofthelake avatar Oct 28 '15 12:10 lordofthelake

maybe you should fork & pull request ^ xD

ganna-shmatova avatar Oct 28 '15 13:10 ganna-shmatova

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.

lordofthelake avatar Oct 28 '15 13:10 lordofthelake