YH-331: fix layout in resource view