I can reproduce the issue when use dark mode in Edge. I think the issue is related with Edge UI design.
I suggest that you can provide the feedback about this issue to Edge team by pressing Alt+Shift+I in Edge. The product team will receive the feedbacks and improve the product continuously.
Thanks for your understanding.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Regards,
Yu Zhou