Created
November 2, 2022 10:17
-
-
Save mt-akar/073d0ea0e2ebf4e1505311adf1f43b83 to your computer and use it in GitHub Desktop.
Responsive site content width for Blazor and Tailwind
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="w-full sm:w-5/6 md:w-4/5 lg:w-3/4 mx-auto px-4 py-6"> | |
@ChildContent | |
</div> | |
@code { | |
[Parameter] | |
public RenderFragment? ChildContent { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment