feat(languageSelector): customize style #32

pull/73/head
Clement G 4 years ago
parent d4c23a6c4c
commit d80879f069

@ -17,12 +17,11 @@ const LanguageSelector = () => {
let locale=i18n.language.substring(0,2).toUpperCase();
if(locale==="EN")locale="GB";
return (<ReactFlagsSelect onSelect={selectHandler}
className="text-primary"
countries={["GB", "FR", "ES", "DE"]}
showOptionLabel={false}
defaultCountry={locale}
selectedSize={14}
optionsSize={14}
selectedSize={15}
optionsSize={22}
showSelectedLabel={false}
/>);
};

@ -310,3 +310,23 @@ li.sortable {
.react-multi-email > span[data-placeholder] {
padding: 0.25em !important;
}
/** flag selector **/
.flag-select > button {
height:35px;
}
.flag-select__options{
width:65px;
text-align:center;
background-color: $mv-light-color !important;
}
.flag-select__options .flag-select__option{
padding:0;
margin:0;
}
.flag-select__options .flag-select__option__icon{
top:0;
}

Loading…
Cancel
Save