Unable to identify this butterfly

Does anyone recognise this little butterfly feeding on Ragwort , please? I have searched all my insect books in vain. Seen in Ripon, North Yorkshire, in July. It was smaller than a tortoiseshell.