This question has options. Is the word "fit" used in the same way in the following two sentences?

How does this shirt fit?

If I lose a few kilos, the gorgeous wedding dress might fit me.

Choose your answer from:
(A). different meanings;
(B). the same meaning;
(B).