-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Remove extra spacing around editing contents, flows and bag part #12585
Remove extra spacing around editing contents, flows and bag part #12585
Conversation
/cc @Skrypt this is what I am referring to. I updated the PR with some screenshots |
data-contenttypes-name="@Model.ContentTypesName" | ||
data-contentitems-name="@Model.ContentItemsName" | ||
data-widget-type="@type.Name" | ||
href="javascript:;">@type.DisplayName</a></li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume that you used VS auto-formatting here. Maybe that's not the best.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Skrypt updated!
src/OrchardCore.Modules/OrchardCore.Flows/Views/FlowPart.Edit.cshtml
Outdated
Show resolved
Hide resolved
src/OrchardCore.Modules/OrchardCore.Flows/Views/FlowPart.Edit.cshtml
Outdated
Show resolved
Hide resolved
<div class="btn-group"> | ||
@if (Model.CanInsert != false) | ||
@if (Model.CanInsert) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like it's broken the View (in some cases, not sure which ones yet)
But Model.CanInsert
is genearlly a null, so it can't be cast to a bool
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If that's the case then it should be set properly as a bool beforehand in the Driver or we should be using a strongly type ShapeViewModel.
Here are some screenshots of the adjusted spacing
removed extra spacing around bag part, widget list and flow part
Removed the extra spacing around the create/edit form in contents and the page title
Here are screenshots from the past (as you can see the spacing isn't consistent)
This is a good view. I am positing here just so you can see that the spacing are not consistent with the above screenshot.