Browse Source

fix HeaderDropdown @media style not working (#10669)

pull/10856/head
Zheng Jiang 3 years ago
committed by GitHub
parent
commit
aa90a0a0d1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/components/HeaderDropdown/index.tsx

2
src/components/HeaderDropdown/index.tsx

@ -12,7 +12,7 @@ export type HeaderDropdownProps = {
const HeaderDropdown: React.FC<HeaderDropdownProps> = ({ overlayClassName: cls, ...restProps }) => {
const className = useEmotionCss(({ token }) => {
return {
[`@media screen and (max-width: ${token.screenXS})`]: {
[`@media screen and (max-width: ${token.screenXS}px)`]: {
width: '100%',
},
};

Loading…
Cancel
Save