Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit ee5d1dc

Browse files
committed
refactor(media-query): repo thread look great
1 parent d1e7499 commit ee5d1dc

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

components/RepoItem/styles/header.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,19 @@ export const Owner = styled.div`
3131
${Title}:hover & {
3232
color: ${theme('banner.title')};
3333
}
34+
35+
${cs.media.mobile`
36+
${cs.truncate('60px')};
37+
`};
3438
`
3539
export const RepoName = styled.div`
3640
color: ${theme('thread.repoTitle')};
3741
${Title}:hover & {
3842
color: ${theme('banner.title')};
3943
}
44+
${cs.media.mobile`
45+
${cs.truncate('80px')};
46+
`};
4047
`
4148
export const TagsWrapper = styled.div`
4249
margin-top: 4px;

containers/ReposThread/styles/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const LeftPart = styled.div`
2424
export const RightPart = styled.div`
2525
width: 20vw;
2626
margin-left: 30px;
27+
${cs.media.mobile`display: none;`};
2728
`
2829
/* fill: ${theme('shell.searchIcon')}; */
2930
export const PublishBtn = styled(Button)`

0 commit comments

Comments
 (0)