CodeBeamOrg / CodeBeam.MudBlazor.Extensions

Useful third party extension components for MudBlazor, from the contributors.
https://mudextensions.codebeam.org/
MIT License
363 stars 62 forks source link

Added Margin property, updated example #89

Closed Yomodo closed 1 year ago

Yomodo commented 1 year ago

I've added the Margin property to be able to specify different margins

Example is also updated: image

Yomodo commented 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.

Yomodo commented 1 year ago

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.

Yomodo commented 1 year ago

I'll think about it some more and play around with the docs. I'll get back to you.

Yomodo commented 1 year ago

Hi, I have no need for this at the moment, so I'll close it for now.