Stella Maris is a cozy seafood restaurant located in the port of Koper where you get to eat inside a boat. The boat is always docked at the port and they serve local seafood dishes like Calamari and fresh fish.
It's a great spot to go with kids, they usually love the boat setting.