This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to style the flags dropdown to fit the width of the flags only. It appears correctly when logged into WordPress but not when logged out. The dropdown shows a large black gap on the right of the flags.
Solution:
We recommend clearing your server cache as the issue might be related to caching.
If this solution does not apply to your case, or if it seems outdated, please check the related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if the issue persists. You can do so at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.