Handle margin for icons in list by CSS
parent
16ba48ed6c
commit
25de79eeed
|
@ -67,7 +67,7 @@
|
|||
DefaultActiveFirstOption="false"
|
||||
EnableSearch>
|
||||
<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
|
||||
</ItemTemplate>
|
||||
</Select>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<Selection Key="@(context.Id.ToString())" />
|
||||
<PropertyColumn Property="s => s.Name" Sortable Hidden="@(Picker.IsColumnHidden("Name"))" />
|
||||
<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
|
||||
</PropertyColumn>
|
||||
<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;
|
||||
}
|
||||
|
||||
.ant-select-item-option-content .ant-image {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.file-manager {
|
||||
background: #fff;
|
||||
display: flex;
|
||||
|
|
Loading…
Reference in New Issue