Skip to content
Discussion options

You must be logged in to vote

Is there any way that I can customize my padding and margin?

Textual's CSS has both padding and margin properties.

Also, I want to get rid of the default margin between cells in a grid layout.

The grid has a number of properties for changing its appearance, amongst them is grid-gutter which sounds to be what you're looking for.

I've tried all possible ways but I didn't come to a solution.

It would be helpful if you gave some indication as to what ways you did try and how they didn't work for you. The above would seem to be what you're looking for, so if they didn't work for you, a small stand-alone example of what you're trying with an explanation of what you're wanting to do and ho…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by davep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2065 on March 15, 2023 08:01.