mirror of
https://github.com/flarum/core.git
synced 2025-08-02 14:37:49 +02:00
Display tweaks
This commit is contained in:
@@ -110,11 +110,11 @@ export default class StatisticsWidget extends DashboardWidget {
|
|||||||
data: {labels, datasets},
|
data: {labels, datasets},
|
||||||
type: 'line',
|
type: 'line',
|
||||||
height: 200,
|
height: 200,
|
||||||
x_axis_mode: 'tick', // for short label ticks
|
x_axis_mode: 'tick',
|
||||||
y_axis_mode: 'span', // for long horizontal lines, or 'tick'
|
y_axis_mode: 'span',
|
||||||
is_series: 1,
|
is_series: 1,
|
||||||
show_dots: 0,
|
show_dots: 0,
|
||||||
colors: ['rgba(0,0,0,0.2)', app.forum.attribute('themePrimaryColor')],
|
colors: ['rgba(0,0,0,0.1)', app.forum.attribute('themePrimaryColor')],
|
||||||
format_tooltip_x: d => d,
|
format_tooltip_x: d => d,
|
||||||
format_tooltip_y: d => d
|
format_tooltip_y: d => d
|
||||||
});
|
});
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
}
|
}
|
||||||
.StatisticsWidget-entity {
|
.StatisticsWidget-entity {
|
||||||
float: left;
|
float: left;
|
||||||
min-width: 100px;
|
min-width: 130px;
|
||||||
padding: 15px 20px;
|
padding: 15px 20px;
|
||||||
color: @text-color;
|
color: @text-color;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
Reference in New Issue
Block a user