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.

Commit5d6c883

Browse files
committed
refactor(media-query): wiki thread look good
1 parent7e6f22e commit5d6c883

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

‎containers/WikiThread/index.js‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import {
2727
RightPart,
2828
RightPadding,
2929
PublishBtn,
30+
MobileBottom,
3031
}from'./styles'
3132

3233
import*aslogicfrom'./logic'
@@ -82,6 +83,15 @@ class WikiThreadContainer extends React.Component {
8283
<WikiWrapper>
8384
{renderView(wikiData,curView,communityRaw)}
8485
</WikiWrapper>
86+
<MobileBottom>
87+
<Contributors
88+
communityRaw={communityRaw}
89+
isLogin={isLogin}
90+
users={wikiData.contributors}
91+
views={wikiData.views}
92+
lastSync={wikiData.lastSync}
93+
/>
94+
</MobileBottom>
8595
</LeftPart>
8696
<RightPart>
8797
<React.Fragment>

‎containers/WikiThread/styles/index.js‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,15 @@ export const RightPart = styled.div`
2727
width: 25vw;
2828
margin-left: 30px;
2929
padding-top: 5px;
30+
${cs.media.mobile`display: none;`};
3031
`
3132
exportconstPublishBtn=styled(Button)`
3233
width: 100%;
3334
max-width: 220px;
3435
margin-top: 10px;
3536
`
37+
38+
exportconstMobileBottom=styled.div`
39+
display: none;
40+
${cs.media.mobile`display: block;`};
41+
`

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp