There was no mistake in the grammar of this sentence, but it might not be in line with common Chinese expressions. Generally speaking, we prefer to use an expression like " always gentle in your heart " to convey the author's feelings and intentions more clearly. However, no matter which way of expression was used, it would not affect the grammar of this sentence.