Etymology
Today it means: In an unsuitable manner. Full definition →
From unsuitable + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.