Fix alignment for right-aligned languages in detail view