mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-03 20:05:53 +01:00
🎨Add month+date indication to the stats graph to avoid confusion when there are days without visits
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
* Improved full-screen editor for better browser compatibility [#1093](https://github.com/getgrav/grav-plugin-admin/pull/1093)
|
* Improved full-screen editor for better browser compatibility [#1093](https://github.com/getgrav/grav-plugin-admin/pull/1093)
|
||||||
* Added ability to choose how you want the preview button to open [#1096](https://github.com/getgrav/grav-plugin-admin/pull/1096)
|
* Added ability to choose how you want the preview button to open [#1096](https://github.com/getgrav/grav-plugin-admin/pull/1096)
|
||||||
* `base.html.twig` now extends a `base-root.html.twig` file
|
* `base.html.twig` now extends a `base-root.html.twig` file
|
||||||
|
* Add month+date indication to the stats graph to avoid confusion when there are days without visits
|
||||||
1. [](#bugfix)
|
1. [](#bugfix)
|
||||||
* Fixed issue with tab widths on Pages overlapping non-english toggle switch [#1089](https://github.com/getgrav/grav-plugin-admin/issues/1089)
|
* Fixed issue with tab widths on Pages overlapping non-english toggle switch [#1089](https://github.com/getgrav/grav-plugin-admin/issues/1089)
|
||||||
* Added `vendor` to ignores for direct install of Grav
|
* Added `vendor` to ignores for direct install of Grav
|
||||||
|
|||||||
@@ -125,8 +125,8 @@ class Popularity
|
|||||||
|
|
||||||
foreach ($chart_data as $date => $count) {
|
foreach ($chart_data as $date => $count) {
|
||||||
$labels[] = Grav::instance()['grav']['admin']->translate([
|
$labels[] = Grav::instance()['grav']['admin']->translate([
|
||||||
'PLUGIN_ADMIN.' . strtoupper(date('D', strtotime($date)))
|
'PLUGIN_ADMIN.' . strtoupper(date('D', strtotime($date)))]) .
|
||||||
]);
|
'<br>' . date('M d', strtotime($date));
|
||||||
$data[] = $count;
|
$data[] = $count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
themes/grav/css-compiled/template.css
vendored
2
themes/grav/css-compiled/template.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1058,11 +1058,9 @@ body.sidebar-quickopen #admin-main {
|
|||||||
|
|
||||||
// Chart overrides
|
// Chart overrides
|
||||||
.ct-chart {
|
.ct-chart {
|
||||||
|
|
||||||
.ct-series {
|
.ct-series {
|
||||||
.ct-bar {
|
.ct-bar {
|
||||||
stroke-width: 20px;
|
stroke-width: 20px;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1070,7 +1068,7 @@ body.sidebar-quickopen #admin-main {
|
|||||||
#popularity .ct-chart {
|
#popularity .ct-chart {
|
||||||
margin: 0 -10px -10px;
|
margin: 0 -10px -10px;
|
||||||
.ct-chart-bar {
|
.ct-chart-bar {
|
||||||
padding: 10px;
|
padding: 6px 6px 6px 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user