Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commita17566a

Browse files
committed
fix(mobile): display wired on mobile,closes#596
1 parent10281ec commita17566a

File tree

6 files changed

+25
-4
lines changed

6 files changed

+25
-4
lines changed

‎src/containers/JobContent/styles/company_card.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ import { theme, cs } from '@utils'
55

66
exportconstWrapper=styled.div`
77
${cs.flexColumn()};
8-
width: 100%;
98
min-height: 140px;
109
padding: 20px;
1110
max-width: 300px;
1211
background:${theme('preview.articleBg')};
1312
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
1413
margin-bottom: 15px;
14+
${cs.media.mobile`
15+
width: 100%;
16+
`};
1517
`
1618
exportconstCompanyBrand=styled.div`
1719
${cs.flex()};

‎src/containers/JobContent/styles/index.js‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export const MainWrapper = styled.div`
2727
`
2828
exportconstSidebarWrapper=styled.div`
2929
min-width: 250px;
30+
${cs.media.mobile`
31+
display: none;
32+
`};
3033
`
3134
/* background: ${theme('preview.articleBg')}; */
3235
exportconstArticleWrapper=styled.div`
@@ -39,8 +42,9 @@ export const ArticleWrapper = styled.div`
3942
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
4043
4144
${cs.media.tablet`
42-
padding: 30px20px;
45+
padding: 30px10px;
4346
min-height: 40vh;
47+
margin-right: 0;
4448
`};
4549
`
4650
exportconstBodyHeaderWrapper=styled.div`

‎src/containers/PostContent/styles/index.js‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ export const MainWrapper = styled.div`
2929
`
3030
exportconstSidebarWrapper=styled.div`
3131
min-width: 250px;
32+
${cs.media.mobile`
33+
display: none;
34+
`};
3235
`
3336
/* background: ${theme('preview.articleBg')}; */
3437
exportconstArticleWrapper=styled.div`
@@ -40,8 +43,9 @@ export const ArticleWrapper = styled.div`
4043
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
4144
min-height: 200px;
4245
${cs.media.mobile`
43-
padding: 30px20px;
46+
padding: 30px10px;
4447
min-height: 20vh;
48+
margin-right: 0;
4549
`};
4650
`
4751

‎src/containers/RepoContent/styles/index.js‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export const MainWrapper = styled.div`
2727
`
2828
exportconstSidebarWrapper=styled.div`
2929
min-width: 250px;
30+
${cs.media.mobile`
31+
display: none;
32+
`};
3033
`
3134
/* background: ${theme('preview.articleBg')}; */
3235
exportconstArticleWrapper=styled.div`
@@ -38,8 +41,9 @@ export const ArticleWrapper = styled.div`
3841
min-height: 200px;
3942
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
4043
${cs.media.tablet`
41-
padding: 30px20px;
44+
padding: 30px10px;
4245
min-height: 30vh;
46+
margin-right: 0;
4347
`};
4448
`
4549

‎src/containers/RepoContent/styles/repo_status_card.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ export const Wrapper = styled.div`
1111
background:${theme('preview.articleBg')};
1212
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
1313
margin-bottom: 15px;
14+
${cs.media.mobile`
15+
width: 100%;
16+
`};
1417
`
1518
exportconstReleaseWrapper=styled.div`
1619
${cs.flex('justify-between')};

‎src/containers/VideoContent/styles/index.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export const MainWrapper = styled.div`
2727
`
2828
exportconstSidebarWrapper=styled.div`
2929
min-width: 250px;
30+
${cs.media.mobile`
31+
display: none;
32+
`};
3033
`
3134
exportconstArticleWrapper=styled.div`
3235
font-size: 1.1rem;
@@ -38,6 +41,7 @@ export const ArticleWrapper = styled.div`
3841
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
3942
${cs.media.tablet`
4043
padding: 30px 20px;
44+
margin-right: 0;
4145
`};
4246
`
4347
exportconstBodyHeaderWrapper=styled.div`

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp