Closed Yomodo closed 1 year ago
When I use ClassContext="ma-6"
, the margin is, of course, applied to the content
but this is not what I'm after.
By specifying the Margin
on the splitter, I can push "away" the left- and right content, which is different.
My splitter contains two MudTables,
in the left splitter content I need to use: <MudTable Class="mr-3" ... />
and in the right splitter content I need to use: <MudTable Class="ml-3" ... />
This way the splitter gets the exact amount of margin.
I can't use <MudSplitter ClassContent="m???-3" ... />
because the margin is different for both contents.
I'll think about it some more and play around with the docs. I'll get back to you.
Hi, I have no need for this at the moment, so I'll close it for now.
I've added the
Margin
property to be able to specify different marginsExample is also updated:![image](https://user-images.githubusercontent.com/10358198/209576178-a38ce8f6-48cc-4de4-825d-c6737ccdeb07.png)