New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preview pane split to two parts, can not see whole preview pics. #32

Open
hwcs opened this Issue Aug 17, 2016 · 13 comments

Comments

Projects
None yet
10 participants
@ghost

ghost commented Aug 17, 2016

image

When I opened the preview pane, it had been split to two pars shown above, how can I get rid of the one below?

@superlou

This comment has been minimized.

Show comment
Hide comment
@superlou

superlou Aug 17, 2016

Confirmed on Atom 1.9.8 on Windows with graphviz-preview 1.7.0. I can temporarily get full height by adding height: 100% to the webview element, but since it is reconstructed with each save, this is not a great solution.

superlou commented Aug 17, 2016

Confirmed on Atom 1.9.8 on Windows with graphviz-preview 1.7.0. I can temporarily get full height by adding height: 100% to the webview element, but since it is reconstructed with each save, this is not a great solution.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Aug 18, 2016

How to “adding height: 100% to the webview element”?

ghost commented Aug 18, 2016

How to “adding height: 100% to the webview element”?

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Aug 18, 2016

I am using windows7, and I have three version of Atom, 1.8.0 have no problem, 1.9.7 and 1.9.8 have the problem described above.

ghost commented Aug 18, 2016

I am using windows7, and I have three version of Atom, 1.8.0 have no problem, 1.9.7 and 1.9.8 have the problem described above.

@erkaun

This comment has been minimized.

Show comment
Hide comment
@erkaun

erkaun Aug 18, 2016

I'm on OS X 10.11.6, and have this problem in Atom 1.9.8 too. Earlier versions of Atom (can't remember which) didn't have the issue.

erkaun commented Aug 18, 2016

I'm on OS X 10.11.6, and have this problem in Atom 1.9.8 too. Earlier versions of Atom (can't remember which) didn't have the issue.

@dlmanning

This comment has been minimized.

Show comment
Hide comment
@dlmanning

dlmanning Aug 18, 2016

One can patch this locally by adding this to one's local stylesheet:

.graphviz-preview > webview {
  height: 100%;
}

dlmanning commented Aug 18, 2016

One can patch this locally by adding this to one's local stylesheet:

.graphviz-preview > webview {
  height: 100%;
}
@lillem4n

This comment has been minimized.

Show comment
Hide comment
@lillem4n

lillem4n Aug 27, 2016

Confirmed on Ubuntu 16.04 running i3 as well.

lillem4n commented Aug 27, 2016

Confirmed on Ubuntu 16.04 running i3 as well.

@Atry

This comment has been minimized.

Show comment
Hide comment
@Atry

Atry Sep 10, 2016

Confirmed on Mac OS X 10.11.6 as well.

Atry commented Sep 10, 2016

Confirmed on Mac OS X 10.11.6 as well.

Atry added a commit to Atry/graphviz-preview that referenced this issue Sep 10, 2016

@GabVenturato

This comment has been minimized.

Show comment
Hide comment
@GabVenturato

GabVenturato Nov 17, 2016

confirmed the issue even on Fedora 24 with atom 1.11.2

GabVenturato commented Nov 17, 2016

confirmed the issue even on Fedora 24 with atom 1.11.2

@sverweij

This comment has been minimized.

Show comment
Hide comment
@sverweij

sverweij Nov 18, 2016

@GabVenturato if you need to edit/ preview graphviz, try the graphviz-preview-plus atom package if you haven't already.

I wrote that as an alternative to graphviz-preview - which doesn't seem to be maintained anymore.

sverweij commented Nov 18, 2016

@GabVenturato if you need to edit/ preview graphviz, try the graphviz-preview-plus atom package if you haven't already.

I wrote that as an alternative to graphviz-preview - which doesn't seem to be maintained anymore.

@f8ttyc8t

This comment has been minimized.

Show comment
Hide comment
@f8ttyc8t

f8ttyc8t Nov 18, 2016

@sverweij - thank you very much for hint - works like a charm!

f8ttyc8t commented Nov 18, 2016

@sverweij - thank you very much for hint - works like a charm!

@GabVenturato

This comment has been minimized.

Show comment
Hide comment
@GabVenturato

GabVenturato Nov 19, 2016

@sverweij thank you very much, it seems excellent!

GabVenturato commented Nov 19, 2016

@sverweij thank you very much, it seems excellent!

@perilbrain

This comment has been minimized.

Show comment
Hide comment
@perilbrain

perilbrain Dec 30, 2016

Change $HOME/.atom/packages/graphviz-preview/styles/graphviz-preview.less to

  iframe, webview {
    width: 100%;
    height: 100%;
    border: 0;
  }

perilbrain commented Dec 30, 2016

Change $HOME/.atom/packages/graphviz-preview/styles/graphviz-preview.less to

  iframe, webview {
    width: 100%;
    height: 100%;
    border: 0;
  }
@f8ttyc8t

This comment has been minimized.

Show comment
Hide comment
@f8ttyc8t

f8ttyc8t Jan 1, 2017

@perilbrain - thank your for dropping that hint!

f8ttyc8t commented Jan 1, 2017

@perilbrain - thank your for dropping that hint!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment