Skip to content
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

1.1.5 - No more scaling of the graph size ? #67

Closed
Aleksey-Maksimov opened this issue May 31, 2017 · 2 comments
Closed

1.1.5 - No more scaling of the graph size ? #67

Aleksey-Maksimov opened this issue May 31, 2017 · 2 comments

Comments

@Aleksey-Maksimov
Copy link

Hello, Mikesch-mp

In version 1.1.4 was a good scaling of the graph size (graph is dynamically reduced).
Also was beautiful (in my opinion) shadow borders for graphics.

view114

In version 1.1.5 it's all gone.

view115

Why?

@Mikesch-mp
Copy link
Owner

Can you please test the latest master. Its already 1.1.6.
For the shadows, if you want them back just edit the CSS file to

.grafana-img {
    display: block;
    box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.55) !important;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height:100%;
    border-radius: 5px;
}

I will make it an config option in the final 1.1.6

@Mikesch-mp
Copy link
Owner

Mikesch-mp commented May 31, 2017

Added shadows option with a8d6437
Also fixed the forgotten img class in direct mode :) Now the graphs should scale in proxy & direct mode correct.

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

No branches or pull requests

2 participants