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.

fix(post-viewer): id sign align#1298

Merged
mydearxym merged 1 commit intodevfromfix-post-viewer-id-sign-align
Apr 26, 2022
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletionssrc/containers/viewer/ArticleViewer/PostViewer/index.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -38,8 +38,8 @@ const PostViewer: FC<TProps> = ({ article, loading }) => {
<Wrapper>
<Header article={article} />
<Title>
{article.title}
<SubTitle>#{article.id}</SubTitle>
<span>{article.title}</span>
<SubTitle>{article.id}</SubTitle>
</Title>
<ArticleInfo article={article} />
<ViewportTracker onEnter={hideFixedHeader} onLeave={showFixedHeader} />
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
import styled from 'styled-components'

importcss,{ theme } from '@/utils/css'
import { theme } from '@/utils/css'

export const Wrapper = styled.div`
padding: 0 8px;
Expand All@@ -11,13 +11,21 @@ export const BodyWrapper = styled.div`
margin-top: 5px;
`
export const Title = styled.div`
${css.flex('align-center')};
color: ${theme('thread.articleTitle')};
font-size: 25px;
`
export const SubTitle = styled.div`
export const SubTitle = styled.span`
display: inline-block;
color: ${theme('thread.articleTitle')};
opacity: 0.4;
font-size:18px;
font-size:19px;
margin-left: 10px;
margin-top: -2px;

&:before {
content: '#';
margin-top: 1px;
margin-right: 2px;
font-size: 17px;
}
`

[8]ページ先頭

©2009-2025 Movatter.jp