Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialog - custom container class #1518

Merged
merged 3 commits into from
May 20, 2024
Merged

Dialog - custom container class #1518

merged 3 commits into from
May 20, 2024

Conversation

Techoneshot
Copy link
Contributor

New parameter ContentCssClass

@@ -31,7 +31,7 @@
}
else
{
<div class="rz-dialog-titlebar">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happened with rz-dialog-titlebar?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for inattention, now this should be right

get
{
var baseCss = "rz-dialog-content";
return string.IsNullOrEmpty(Dialog.Options.ContentCssClass) ? baseCss : $"{baseCss} {Dialog.Options.ContentCssClass}";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion in the else part of this condition you will get twice "rz-dialog-content" since it's already assigned in the DialogService:

ContentCssClass = options != null ? $"rz-dialog-content {options.ContentCssClass}" : "rz-dialog-content",

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's same as others CSS params but I will check that

@enchev enchev merged commit bce50b9 into radzenhq:master May 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants