Skip to content

SQLPage stylings? #320

Closed Answered by lovasoa
ToniJ123 asked this question in Q&A
May 15, 2024 · 4 comments · 1 reply
Discussion options

You must be logged in to vote

So custom .css is always presented to the shell? How does then this class property work in table? Or can you point in class property, in table, to some class that exists in custom .css file, which has to be presented to the shell?

You use the shell component to include your CSS file at the beginning of your file

select 'shell' as component, '/style.css' as css;

Then later in the file you can create your table

select 'table' as component, 'my_custom_styled_table' as class;
select * from tableX;

and in style.css :

.my_custom_styled_table td {
  padding: 1px !important;
}

Can I use also this card feature without pointing to any external sql files, just like this, not embed?

No. Just crea…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@lovasoa
Comment options

Answer selected by ToniJ123
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants