The width cannot be controlled in border property unfortunately.
Try creating a new hook:
https://docs.generatepress.com/article/hooks-element-overview/
With this as the content:
<div class="border"></div>
And select after_entry_header
.
Then display for all posts.
Do that first and let me have another look 🙂