"Hide (the) details" is a complete sentence. "Not show the detail" is not. Depending on the context, maybe "Don't show details" would be as good as "Hide details".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.