How did Croatia end up with such an expansive coastline along the Adriatic at the expense of Bosnia & Herzegovina?

by monkeyseemonkeydoodo
Searocksandtrees

Post removed.

The title as worded (particularly "at the expense of") is loaded/soapboxing, which is against the subreddit rules. Do feel welcome to repost the question in a more neutral manner, e.g. "How were the Adriatic borders of Croatia determined?" or similar.