This fixes a few issues with the LanguageSelector implementation:
The usa-language-container class was being applied to both the parent div and the inner button, which causes layout issues due to the button receiving unexpected margins and relative positioning
2809
An assumption I am making in this PR is that the intent of the className prop is to apply custom styling to the button, which is how it's demonstrated in Storybook.
Summary
This fixes a few issues with the
LanguageSelector
implementation:usa-language-container
class was being applied to both the parentdiv
and the innerbutton
, which causes layout issues due to the button receiving unexpected margins and relative positioning2809
An assumption I am making in this PR is that the intent of the
className
prop is to apply custom styling to the button, which is how it's demonstrated in Storybook.How To Test
Storybook
Screenshots (optional)