Merge remote-tracking branch 'origin/1.10' into 1.10

This commit is contained in:
Matias Griese
2019-06-18 12:16:32 +03:00
4 changed files with 24 additions and 14 deletions

View File

@@ -1,3 +1,10 @@
# v1.10.0-beta.2
## 06/17/2019
1. [](#bugfix)
* Fixed issue with charts in dashboard where label would cut off [#1700](https://github.com/getgrav/grav-plugin-admin/issues/1700)
# v1.10.0-beta.1
## 06/14/2019

View File

@@ -823,3 +823,6 @@ PLUGIN_ADMIN:
DEBUGGER_PROVIDER_HELP: "Default is PHP Debug Bar, but Clockwork browser extension provides for a less intrusive approach"
DEBUGGER_DEBUGBAR: "PHP Debug Bar"
DEBUGGER_CLOCKWORK: "Clockwork Browser Extension"
PAGE_ROUTE_NOT_FOUND: "Page route not found"
PAGE_ROUTE_FOUND: "Page route found"
NO_ROUTE_PROVIDED: "No route provided"

View File

@@ -4,7 +4,7 @@ import { translations } from 'grav-config';
import { Instance as gpm } from '../utils/gpm';
import { Instance as updates } from '../updates';
let isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
// let isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
export const defaults = {
data: {
@@ -23,7 +23,7 @@ export const defaults = {
},
Bar: {
height: 164,
chartPadding: !isFirefox ? 5 : 10, // workaround for older versions of firefox
chartPadding: 20, // workaround for older versions of firefox
axisX: {
showGrid: false,
@@ -40,7 +40,7 @@ export const defaults = {
x: 5,
y: 5
},
scaleMinSpace: !isFirefox ? 20 : 10
scaleMinSpace: 25
}
}
}

File diff suppressed because one or more lines are too long