chore: Adjust language picker theme to match other menus#14644
Conversation
Codecov Report
@@ Coverage Diff @@
## master #14644 +/- ##
=======================================
Coverage 77.46% 77.46%
=======================================
Files 958 958
Lines 48478 48482 +4
Branches 5681 5691 +10
=======================================
+ Hits 37553 37557 +4
Misses 10725 10725
Partials 200 200
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
| import React, { useState } from 'react'; | ||
| import { Select } from 'src/common/components'; | ||
| import { styled, useTheme } from '@superset-ui/core'; | ||
| import Icons from 'src/components/Icons'; |
There was a problem hiding this comment.
Is there a reason why you are reverting back to the older Icon implementation?
There was a problem hiding this comment.
Yes. All menus are using the old implementation. If I change to the new one just here, we have differences in icons sizes. When we migrate the menu icons, then we should also migrate the icon in LanguagePicker.
pkdotson
left a comment
There was a problem hiding this comment.
LGTM! I think the approach for icons should be fine for now.
SUMMARY
Adjusts language picker theme to match other menus.
Follow up of #14557
@rusackas
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
1 - Enable multiple languages
2 - Check language picker
ADDITIONAL INFORMATION