Replies: 3 comments 2 replies
-
Hello ! It has a file called style.css at the root of the project. Then in the .sql web pages, the file is included as a part of the shell component: SELECT 'shell' AS component, '/style.css' as css; |
Beta Was this translation helpful? Give feedback.
-
Here is a replit example illustrating how to center text in table columns: |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot Ophir for the explanations and the examples provided ! I tried to move the line at the top but this error message is still displayed. Here my code in the sql file : -- Permet de personnaliser le tableau de synthèse
SELECT 'shell' AS component, '/style.css' as css;
--Menu
SELECT 'dynamic' AS component,
CASE WHEN $group_id=1
THEN sqlpage.read_file_as_text('index.json')
ELSE sqlpage.read_file_as_text('menu.json')
END AS properties; How can I resolve this conflict for applying the css customisation for this specific sql file ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Sorry but I don't understand how to change a default .css property. I found this discussion #320 but I have questions.
Here the code I would want to use:
Where the .css file has to be stored ?
How to force this customization in an .sql file ?
Thanks for your help, regards.
Beta Was this translation helpful? Give feedback.
All reactions