The trigonometric ratio expresses the ratio between the opposite side and the adjacent side. It does not give any indication about the actual measurement of the side lengths.
It should be noted that for a given angle, when the adjacent side and the opposite side lengths change, if their ratio stays the same, then the tangent, too, would stay the same.