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

DataGrid: optimize utility allocations #6036

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tesar-tech
Copy link
Collaborator

Description

Closes ##5959

@@ -1,13 +1,14 @@
@using Blazorise.Extensions;
@typeparam TItem

<Div Class="b-datagrid-drop-zone" Border="Border.Rounded" Background="Background.Light" Padding="Padding.Is3" Flex="Flex.Grow.Is1"

<Div Class="b-datagrid-drop-zone" Border="Border.Rounded" Background="Background.Light" Padding="Padding.Is3" Flex="Constants.FlexGrowIs1"
Copy link
Collaborator

Choose a reason for hiding this comment

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

There are still some missing. Like Padding="Padding.Is3" in here.

@@ -54,7 +54,7 @@
}
</Field>
</Column>
<Column ColumnSize="ColumnSize.Is12" Flex="Flex.JustifyContent.End.AlignItems.Center" Gap="Gap.Is2">
<Column ColumnSize="ColumnSize.Is12" Flex="Constants.FlexJustifyContentEndAlignItemsCenter" Gap="Gap.Is2">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Gap also need to be in constants.

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.

2 participants