fix: reduce margins, padding, chart heights to eliminate scrollbar
This commit is contained in:
parent
c89c0d89de
commit
966c89080b
@ -1,7 +1,7 @@
|
||||
{
|
||||
"widgettype": "ChartBar",
|
||||
"options": {
|
||||
"height": "250px",
|
||||
"height": "210px",
|
||||
"width": "100%",
|
||||
"data_url": "{{entire_url('api/top_models.dspy')}}",
|
||||
"nameField": "model_name",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"widgettype": "ChartBar",
|
||||
"options": {
|
||||
"height": "250px",
|
||||
"height": "210px",
|
||||
"data_url": "{{entire_url('api/top_providers.dspy')}}",
|
||||
"nameField": "provider_name",
|
||||
"valueFields": ["total_amount", "cnt"]
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"widgettype": "ChartBar",
|
||||
"options": {
|
||||
"height": "250px",
|
||||
"height": "210px",
|
||||
"data_url": "{{entire_url('api/top_users.dspy')}}",
|
||||
"nameField": "user_name",
|
||||
"valueFields": ["total_amount", "cnt"]
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
"options": {
|
||||
"width": "100%",
|
||||
"alignItems": "center",
|
||||
"marginBottom": "24px"
|
||||
"marginBottom": "12px"
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
@ -65,9 +65,9 @@
|
||||
,{
|
||||
"widgettype": "ResponsableBox",
|
||||
"options": {
|
||||
"gap": "16px",
|
||||
"gap": "12px",
|
||||
"minWidth": "220px",
|
||||
"marginBottom": "24px"
|
||||
"marginBottom": "12px"
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
@ -123,9 +123,9 @@
|
||||
{
|
||||
"widgettype": "ResponsableBox",
|
||||
"options": {
|
||||
"gap": "16px",
|
||||
"gap": "12px",
|
||||
"minWidth": "220px",
|
||||
"marginBottom": "24px"
|
||||
"marginBottom": "12px"
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"css": "stat-card",
|
||||
"padding": "20px",
|
||||
"padding": "14px",
|
||||
"borderRadius": "12px",
|
||||
"flex": "1",
|
||||
"minHeight": "110px",
|
||||
"minHeight": "90px",
|
||||
"borderLeft": "4px solid #22c55e"
|
||||
},
|
||||
"subwidgets": [
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
{
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"padding": "20px",
|
||||
"padding": "14px",
|
||||
"borderRadius": "12px",
|
||||
"flex": "1",
|
||||
"minHeight": "110px",
|
||||
"minHeight": "90px",
|
||||
"borderLeft": "4px solid #06b6d4"
|
||||
},
|
||||
"subwidgets": [
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"css": "stat-card",
|
||||
"padding": "20px",
|
||||
"padding": "14px",
|
||||
"borderRadius": "12px",
|
||||
"flex": "1",
|
||||
"minHeight": "110px",
|
||||
"minHeight": "90px",
|
||||
"borderLeft": "4px solid #ef4444"
|
||||
},
|
||||
"subwidgets": [
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"css": "stat-card",
|
||||
"padding": "20px",
|
||||
"padding": "14px",
|
||||
"borderRadius": "12px",
|
||||
"flex": "1",
|
||||
"minHeight": "110px",
|
||||
"minHeight": "90px",
|
||||
"borderLeft": "4px solid #10b981"
|
||||
},
|
||||
"subwidgets": [
|
||||
|
||||
@ -3,10 +3,10 @@
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"css": "stat-card",
|
||||
"padding": "20px",
|
||||
"padding": "14px",
|
||||
"borderRadius": "12px",
|
||||
"flex": "1",
|
||||
"minHeight": "110px",
|
||||
"minHeight": "90px",
|
||||
"borderLeft": "4px solid {% if trend.trend == 'up' %}#22c55e{% elif trend.trend == 'down' %}#ef4444{% else %}#8b5cf6{% endif %}"
|
||||
},
|
||||
"subwidgets": [
|
||||
|
||||
@ -3,10 +3,10 @@
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"css": "stat-card",
|
||||
"padding": "20px",
|
||||
"padding": "14px",
|
||||
"borderRadius": "12px",
|
||||
"flex": "1",
|
||||
"minHeight": "110px",
|
||||
"minHeight": "90px",
|
||||
"cursor": "pointer",
|
||||
"borderLeft": "4px solid {% if trend.trend == 'up' %}#22c55e{% elif trend.trend == 'down' %}#ef4444{% else %}#3b82f6{% endif %}"
|
||||
},
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"css": "stat-card",
|
||||
"padding": "20px",
|
||||
"padding": "14px",
|
||||
"borderRadius": "12px",
|
||||
"flex": "1",
|
||||
"minHeight": "110px",
|
||||
"minHeight": "90px",
|
||||
"borderLeft": "4px solid #8b5cf6"
|
||||
},
|
||||
"subwidgets": [
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"css": "stat-card",
|
||||
"padding": "20px",
|
||||
"padding": "14px",
|
||||
"borderRadius": "12px",
|
||||
"flex": "1",
|
||||
"minHeight": "110px",
|
||||
"minHeight": "90px",
|
||||
"borderLeft": "4px solid #3b82f6"
|
||||
},
|
||||
"subwidgets": [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user