.image-selection TemplateContainer { min-width: 180px; min-height: 180px; max-width: 220px; max-height: 220px; } .image-selection #VisualElement--0 { -unity-background-scale-mode: scale-and-crop; position: absolute; left: 0; top: 0; right: 0; bottom: 0; } .image-selection VisualElement #VisualElement--1 { display: none; } .image-selection .selected VisualElement #VisualElement--1 { display: flex; }