banacorn / agda-mode

agda-mode on Atom
https://atom.io/packages/agda-mode
MIT License
58 stars 14 forks source link

problems with pane‐positioning #83

Open ghost opened 5 years ago

ghost commented 5 years ago

If I choose to dock the agda-mode info‐display‐thingie as a pane (to the right, for example), I encounter a couple of problems:

I was able to work around the first one by having this on my styles.less file:

.agda-mode > section
{
    display: grid;
    place-items: start stretch;
    align-content: start;
}

.agda-body-container
{
    place-self: stretch;
    min-width: 0;
    word-wrap: break-word;
    min-height: 0;
}

.agda-body
{
    max-height: 100%;
}
banacorn commented 5 years ago

I've had the first problem fixed in the ocaml branch. I'll see if the second problem still also persists in the new implementation.