As of Terminal 1.13, there isn't - that's just part of the UI to help indicate that you have a pane zoomed.
microsoft/terminal#3063 is tracking adding a setting to the Terminal to configure the border width, and microsoft/terminal#30631 is tracking adding support for changing the color. I'd go upvote those two if you're interested in such a setting.