mirror of
https://github.com/wassname/talk.git
synced 2026-08-03 13:20:59 +08:00
Sizing
This commit is contained in:
@@ -9,12 +9,12 @@ const formatDate = (date) => {
|
||||
const Story = ({author, title, createdAt, open, id, goToStory}) => {
|
||||
return (
|
||||
<li className={styles.story} onClick={() => goToStory(id)}>
|
||||
<p className={styles.title}>{title}</p>
|
||||
<p className={styles.meta}>
|
||||
<span className={styles.title}>{title}</span>
|
||||
<div className={styles.meta}>
|
||||
<span className={styles.author}>By {author}</span>
|
||||
<span className={styles.createdAt}>{formatDate(createdAt)}</span>
|
||||
<span className={styles.status}>{open ? 'Open' : 'Closed'}</span>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -67,12 +67,13 @@
|
||||
}
|
||||
|
||||
.story {
|
||||
padding: 10px 63px;
|
||||
padding: 5px 63px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
height: 50px;
|
||||
box-sizing: border-box;
|
||||
|
||||
&:hover {
|
||||
background-color: #efefef;
|
||||
@@ -86,7 +87,7 @@
|
||||
.title, .meta {
|
||||
margin: 0;
|
||||
color: black;
|
||||
font-size: 17px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.author, .createdAt, .status {
|
||||
@@ -117,7 +118,7 @@
|
||||
}
|
||||
|
||||
.searchResults {
|
||||
padding: 10px 24px;
|
||||
padding: 7px 24px;
|
||||
}
|
||||
|
||||
.searchResults i {
|
||||
|
||||
@@ -212,7 +212,7 @@ const withModQueueQuery = withQuery(gql`
|
||||
}) {
|
||||
...CoralAdmin_Moderation_CommentConnection
|
||||
}
|
||||
assets: assets(query: {limit: 10}) {
|
||||
assets: assets(query: {}) {
|
||||
id
|
||||
title
|
||||
url
|
||||
|
||||
Reference in New Issue
Block a user