Remove article numbers
This commit is contained in:
parent
72d4a68929
commit
eb1137299d
|
@ -59,10 +59,6 @@ class Feed extends React.Component {
|
|||
<div>
|
||||
{stories.map((x, i) =>
|
||||
<div className='item' key={i}>
|
||||
<div className='num'>
|
||||
{i+1}.
|
||||
</div>
|
||||
|
||||
<div className='title'>
|
||||
<Link className='link' to={'/' + x.id}>
|
||||
<img className='source-logo' src={logos[x.source]} alt='source logo' /> {x.title}
|
||||
|
|
|
@ -64,10 +64,6 @@ class Results extends React.Component {
|
|||
{stories.length ?
|
||||
stories.map((x, i) =>
|
||||
<div className='item' key={i}>
|
||||
<div className='num'>
|
||||
{i+1}.
|
||||
</div>
|
||||
|
||||
<div className='title'>
|
||||
<Link className='link' to={'/' + x.id}>
|
||||
<img className='source-logo' src={logos[x.source]} alt='source logo' /> {x.title}
|
||||
|
|
|
@ -37,7 +37,7 @@ class Search extends Component {
|
|||
<span className='search'>
|
||||
<form onSubmit={this.searchAgain}>
|
||||
<input
|
||||
placeholder='Search...'
|
||||
placeholder='Search... (fixed)'
|
||||
value={search}
|
||||
onChange={this.searchArticles}
|
||||
ref={this.inputRef}
|
||||
|
|
|
@ -46,7 +46,7 @@ pre {
|
|||
.item {
|
||||
display: table;
|
||||
color: #828282;
|
||||
margin-bottom: 0.6rem;
|
||||
margin-bottom: 0.7rem;
|
||||
}
|
||||
|
||||
.item .source-logo {
|
||||
|
@ -61,11 +61,6 @@ pre {
|
|||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.item .num {
|
||||
display: table-cell;
|
||||
width: 2em;
|
||||
}
|
||||
|
||||
.item a.link {
|
||||
font-size: 1.1rem;
|
||||
color: #000000;
|
||||
|
|
Loading…
Reference in New Issue
Block a user