But then:
1. It's a good dog. What is the dog? Good.
2. ??? It's a text away. What is the text? Away.
Cf.
3. It's a good dog. (It's a dog.)
4. It's a heartbeat away. (??? It's a heartbeat.)
5. It's a text away. (??? It's a text.)
MrP
When a word describes a noun, it's an adjective.
When a word belongs to any form of be (is, am, are, been, etc.), it's an adjective.
When a word describes an adjective, it's an adverb.
When a word describes a verb, it's an adverb.
The dog is good. -> good = adjective, because it belongs to a "be-form".
The dog listens well to its orders. -> well = adverb, because
listen is a verb.
The dog is incredibly big. -> how big is it? incredibly -> incredibly = adverb, because
big is an adjective.
"Text away" is an unknown thing for me anyway.
I've never heard it.
(I'm not a native speaker.)
I hope I could help.
Cheers!