Replies: 3 comments 4 replies
-
Great to hear that you're enjoying the default theme of SQLPage! Customizing the display of elements and overriding styles is definitely possible. SQLPage allows you to create your own components by creating a folder in You can then define the HTML structure and CSS styling you want for your component in these files. SQLPage uses the Handlebars templating engine, which allows you to dynamically generate HTML based on the data returned from your SQL queries. You can also override existing components, including the shell component that handles the overall page design. To do this, create a new .handlebars file with the same name as the component you want to override. SQLPage will automatically prioritize your custom component over the default one. For inspiration, you can see the source for all the default components in the templates directory of this repo. The source for the default shell is in the And if you think your new components or your changes to the default ones could be of interest to others, don't hesitate to open a pull request here ! Regarding the issue with the browser's scrollbars, I'd be happy to help you debug and maybe resolve the problem directly in sqlpage. Could you provide more information about the specific issue you're facing? Are the scrollbars not appearing at all, or are they behaving unexpectedly? Any additional details or screenshots you can provide would be helpful in diagnosing and addressing the problem. |
Beta Was this translation helpful? Give feedback.
-
I just pushed a new example illustrating the usage of custom components for styling. |
Beta Was this translation helpful? Give feedback.
-
I just pushed a fix; invisible scrollbars should be fixed for everyone in the next version. |
Beta Was this translation helpful? Give feedback.
-
I like the default theme, but of course I would need to be able to change the way elements are displayed depending on this or that.
Plus I'd like to override the styles applied to the browser's scrollbars because it's buggy with me (no scrollbars at all).
How can I do that?
Beta Was this translation helpful? Give feedback.
All reactions