Add this css in Custom CSS for horizontal selector of languages -> top bar position

.top_bar .widget-container ul li {
    width: auto;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item {
    padding: 0px 10px 0px 0px;
}

.wpml-ls-legacy-list-horizontal {
    border: 0px solid transparent;
    padding: 0px;
}