timdows / MMM-JsonTable

A module for the MagicMirror project which creates a table filled with a list gathered from a json request.
MIT License
25 stars 31 forks source link

Wrong format / columns are stretched ? #9

Closed alexbergsland closed 4 years ago

alexbergsland commented 4 years ago

What am I doing wrong here? My table is way more stretched than your examples.

{
    module: 'MMM-JsonTable',
    position: 'top_left',
    header: 'Majken',
    config: {
        url: 'http://192.168.xx.xx/echo.php', // Required
        arrayName: 'domoticz' // Optional
    }
},
{
    "domoticz": [
        {
            "name": "Sval sida",
            "value": "0.0 C, 0 %"
        },
        {
            "name": "Solplats",
            "value": "23.2 C"
        },
        {
            "name": "L\u00e5g v\u00e4nster",
            "value": "21.6 C"
        },
        {
            "name": "H\u00f6g mitten",
            "value": "21.9 C"
        },
        {
            "name": "L\u00e5g h\u00f6ger",
            "value": "21.6 C"
        },
        {
            "name": "Dvalbox",
            "value": "13.1 C"
        },
        {
            "name": "Temperatur ute",
            "value": "4.9 C"
        },
        {
            "name": "Temperatur inne",
            "value": "20.8 C"
        },
        {
            "name": "Varmvatten",
            "value": "45.2 C"
        }
    ]
}

2020-01-10-164510_864x1152_scrot

timdows commented 4 years ago

@alexbergsland is this still an issue? Could be you have custom CSS that messes up the position: 'top_left',

Can you try to put in e.g. bottom_right ?