We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a76eae commit eed9e41Copy full SHA for eed9e41
src/components/home/HomeSidebar.tsx
@@ -4,6 +4,7 @@ import MainNoticeWidgetContainer from '../../containers/home/MainNoticeWidgetCon
4
import MainTagWidgetContainer from '../../containers/home/MainTagWidgetContainer';
5
import HomeRightFooter from './HomeRightFooter';
6
import Sticky from '../common/Sticky';
7
+import { mediaQuery } from '../../lib/styles/media';
8
9
export type HomeSidebarProps = {};
10
@@ -19,6 +20,11 @@ function HomeSidebar(props: HomeSidebarProps) {
19
20
);
21
}
22
-const Block = styled.div``;
23
+const Block = styled.div`
24
+ width: 16rem;
25
+ ${mediaQuery(1440)} {
26
+ width: 12rem;
27
+ }
28
+`;
29
30
export default HomeSidebar;
0 commit comments