Handle margin for icons in list by CSS
parent
16ba48ed6c
commit
25de79eeed
|
@ -67,7 +67,7 @@
|
||||||
DefaultActiveFirstOption="false"
|
DefaultActiveFirstOption="false"
|
||||||
EnableSearch>
|
EnableSearch>
|
||||||
<ItemTemplate Context="game">
|
<ItemTemplate Context="game">
|
||||||
<Image Src="@GetIcon(game)" Height="32" Width="32" Preview="false" Style="margin-right: 8px"></Image>
|
<Image Src="@GetIcon(game)" Height="32" Width="32" Preview="false"></Image>
|
||||||
@game.Title
|
@game.Title
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</Select>
|
</Select>
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
<Selection Key="@(context.Id.ToString())" />
|
<Selection Key="@(context.Id.ToString())" />
|
||||||
<PropertyColumn Property="s => s.Name" Sortable Hidden="@(Picker.IsColumnHidden("Name"))" />
|
<PropertyColumn Property="s => s.Name" Sortable Hidden="@(Picker.IsColumnHidden("Name"))" />
|
||||||
<PropertyColumn Property="s => s.Game" Hidden="@(Picker.IsColumnHidden("Game"))">
|
<PropertyColumn Property="s => s.Game" Hidden="@(Picker.IsColumnHidden("Game"))">
|
||||||
<Image Src="@GetIcon(context.Game)" Height="32" Width="32" Preview="false" Style="margin-right: 8px"></Image>
|
<Image Src="@GetIcon(context.Game)" Height="32" Width="32" Preview="false"></Image>
|
||||||
@context.Game?.Title
|
@context.Game?.Title
|
||||||
</PropertyColumn>
|
</PropertyColumn>
|
||||||
<PropertyColumn Property="s => s.CreatedOn" Format="MM/dd/yyyy hh:mm tt" Sortable Hidden="@(Picker.IsColumnHidden("Created On"))" />
|
<PropertyColumn Property="s => s.CreatedOn" Format="MM/dd/yyyy hh:mm tt" Sortable Hidden="@(Picker.IsColumnHidden("Created On"))" />
|
||||||
|
|
|
@ -76,6 +76,10 @@ label.ant-btn-icon-only {
|
||||||
right: 16px;
|
right: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-select-item-option-content .ant-image {
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.file-manager {
|
.file-manager {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Loading…
Reference in New Issue