Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants