Remove article numbers

This commit is contained in:
Tanner Collin 2020-07-04 22:38:36 +00:00
parent 72d4a68929
commit eb1137299d
4 changed files with 2 additions and 15 deletions

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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;