In this sentence, klein is a predicate adjective: it comes after the linking verb is and describes the subject.
So the structure is:
Afrikaans does not add any special agreement ending here. So klein stays in its basic form.
For a yes/no question, Afrikaans usually puts the verb first:
That means Is this thing small?
So the statement and question compare like this:
Yes, sometimes.
If the thing is already clear from context, Afrikaans can use dit = it:
But Hierdie ding is klein is more explicit. It names the noun directly and points to it as this thing.
So the difference is: