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