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.

Commit7e6f22e

Browse files
committed
refactor(media-query): make video thread looks right
1 parenta52132e commit7e6f22e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

‎components/VideoSourceInfo/index.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { ICON_CMD } from 'config'
1313
import{makeDebugger}from'utils'
1414
importMaybefrom'components/Maybe'
1515

16-
import{Wrapper,LinkIcon,LogoIcon}from'./styles'
16+
import{Wrapper,LinkIcon,LogoIcon,Text}from'./styles'
1717

1818
/* eslint-disable-next-line */
1919
constdebug=makeDebugger('c:VideoSourceInfo:index')
@@ -33,7 +33,7 @@ const VideoSourceInfo = ({ value }) => (
3333
<Maybetest={R.contains(value,recommandSources)}>
3434
<LogoIconsrc={`${ICON_CMD}/${value}.svg`}color={colorMaps[value]}/>
3535
</Maybe>
36-
<div>{value}</div>
36+
<Text>{value}</Text>
3737
</Wrapper>
3838
)
3939

‎components/VideoSourceInfo/styles/index.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,7 @@ export const LogoIcon = styled(Img)`
2525
margin-left: 2px;
2626
display: block;
2727
`
28+
29+
exportconstText=styled.div`
30+
${cs.media.mobile`display: none`};
31+
`

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp