sqlpage / SQLPage

Fast SQL-only data application builder. Automatically build a UI on top of SQL queries.
https://sql.datapage.app
MIT License
1.57k stars 89 forks source link

display of menu is incorrect #566

Closed alexisrc1 closed 1 month ago

alexisrc1 commented 1 month ago

Introduction

After migration to v028, the menu is shift to the left: image

To Reproduce

my shell is in this json file (shell.json):

{
    "component":"shell",
    "title":"",
    "image":"logo_bompard.png",
    "link":"/",
    "menu_item":[
        {"link":"https://sql.ophir.dev/","title":"SQLPage Official website","icon":"file-text"},
        {"title":"Back to homepage","link":"/","icon":"book"}
    ],
    "layout":"boxed"
}
SELECT 'dynamic' AS component, sqlpage.read_file_as_text('shell.json') AS properties;

Version information

alexisrc1 commented 1 month ago

@lovasoa the issue is when the page has no title, an option 'hidden title' would be cool to not have the display issue